1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Block remove skript

Discussion in 'Requests' started by RedAssassin, May 6, 2018.

  1. RedAssassin

    RedAssassin Member

    Joined:
    May 6, 2018
    Messages:
    3
    Likes Received:
    0
    I need a skript that prevents command signs from being placed
     
  2. Peivi

    Peivi Member

    Joined:
    Jan 28, 2018
    Messages:
    25
    Likes Received:
    0
    tell me what what is command sing.
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    This is probably a stupid question, but what is a command sign? Like what plugin is allowing players to create command signs in the first place?
     
  4. RedAssassin

    RedAssassin Member

    Joined:
    May 6, 2018
    Messages:
    3
    Likes Received:
    0
    Command signs are signs and if you right click them it runs commands as admin. There is no plugin allowing people to use command signs. Heres an example of how people would get one. /give @p minecraft:sign 1 0 {BlockEntityTag:{Text1:"{\"text\":\"Minecraft Tools\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"example\"}}"},display:{Name:"Custom Sign"}}
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    227
    Could you just do something like
    Code (Skript):
    1. on command " /give @p minecraft:sign":
    2.     cancel event
    3.     send "NO NO" to player
     
  6. RedAssassin

    RedAssassin Member

    Joined:
    May 6, 2018
    Messages:
    3
    Likes Received:
    0
    That would work but players can still get them with toolbars
     
  7. Lego_freak1999

    Lego_freak1999 Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    664
    Likes Received:
    45
    Try this:

    Requires skstuff

    Code (Skript):
    1. On place of sign:
    2.    Add{BlockEntityTag:{}}” to nbt of event-block
     

Share This Page

Loading...