Filled Surprise Signs

Discussion in 'Archived: Plugin Requests' started by Sw_aG, Jul 6, 2014.

  1. Offline

    Sw_aG

    Dear very kind Plugin makers,

    Plugin category: Admin-tools

    Suggested name: Surprise Signs

    What I want: I want a plugin that has the ability to run a command by standing on a Pressure plate that below a sign.
    In the sign it'll be able to write everything i want but the players wont see/know the command They are running from the sign.

    You'll be able to choose a command from the config, a sign will be detect as a Surprise Sign when He'll have a "-" in his first line.

    Example Sign:

    Secret Gamemode


    When you click the "Example Sign":
    /gamemode 2
    I want in the config to be:

    Secret Gamemode:
    - gamemode 2
    Apple Day:
    - kit apple
    Help plate:
    - help


    Ideas for commands: None

    Ideas for permissions: suprisesign.create - The ability to create a suprise sign

    When I'd like it by: ASAP

    Version: 1.7.2 R3

    Thanks In the future! :rolleyes:
     
  2. Offline

    Asgernohns

    Sw_aG I could try to make this :)

    View attachment 20921
    Do you mean like this, and when a player stand on the pressure plate it will activate the command bound to the sign.
    I think it would be better if I made a command that registered if the sign is a surprise sign.

    Then the command syntax would be like this:
    /(ss or suprisesign) register <name>

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  3. Offline

    Sw_aG

    Asgernohns That's good, but i need the sign to be 1 block below the block that the pressure plate is on.
     
  4. Offline

    Asgernohns

    Sw_aG could you make a picture of it? :p
     
  5. Offline

    Sw_aG

    Attached Files:

    Last edited by a moderator: Jul 1, 2016
  6. Offline

    Asgernohns

    ahhh... so a hidden sign
     
  7. Offline

    Sw_aG

    Asgernohns Indeed, i want it to be hiden but still i want to execute the player to run a command that even if he'll Somehow break the block and look at the sign, he wouldent know the command behind it.
     
  8. Offline

    Asgernohns

    Sw_aG Okay. Can the pressure plate be any type?
     
  9. Offline

    Sw_aG

    Asgernohns Yes, but if someone who isn't have the permissions to create the sign (suprisesign.create) putting a sign and write "-" on The top it wont do anything.
     
  10. Offline

    Asgernohns

    Sw_aG the "-" thing isn't needed but if you want it, I can implement it
     
  11. Offline

    Sw_aG

    Asgernohns Wait, so how can you set up a secret sign?

    Yes, any one of those examples will activate it: http://oi61.tinypic.com/jinwgl.jpg

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  12. Offline

    Asgernohns

    Sw_aG It is registered in the the plugin so the plugin know it's a surprisesign
     
  13. Offline

    Sw_aG

    Asgernohns How can i create a new surprise sign?
    And how can i make a normal sign?
     
  14. Offline

    Asgernohns

    Sw_aG normal signs will be made just as you normally do, and surprise signs are you gonna register with the /ss register <name> and then you need to right click on the sign you want to make a surprise sign
     
  15. Offline

    Sw_aG

  16. Offline

    Asgernohns

    Sw_aG Wall signs and sign posts?
     
    EddieFriday likes this.
  17. Offline

    Sw_aG

    Asgernohns Yes.

    Asgernohns I dont want to be rude, but how long do you think the plugins will be ready?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  18. Offline

    Asgernohns

    Sw_aG I ran into a problem with the iron and gold pressure plates not working properly (it might be a bug). But wood and stone pressure plates are working fine! :)
     
  19. Offline

    Sw_aG

    Asgernohns Unfortunately i need the gold...
    You can leave the iron but the gold is important
     
  20. Offline

    Sw_aG

  21. Offline

    Asgernohns

    Sw_aG the gold and iron still don't work. but i am soon finished with the wood and stone pressure plates
     
    Sw_aG likes this.
  22. Offline

    Sw_aG

    Ok then, thanks
     
  23. Offline

    Asgernohns

    Sw_aG I am ready for you to test it. I just don't have time right now to do it my self. Please reply if you find a bug or if you just wanna add a new feature :) And as a "surprise" i figured out a way to make gold and iron pressure plates work my self :D
    Link: SurpriseSigns.zip
     

    Attached Files:

    Sw_aG likes this.
  24. Offline

    fromgate

    Why talking about signs? I think you need plugin that links command to pressure plate :)
     
    Asgernohns and Sw_aG like this.
  25. Offline

    Sw_aG

    I'm not at home right now, I'll check it when I'll be at home!

    Asgernohns It works great! Thanks a lot mate:)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  26. Offline

    Asgernohns

    Sw_aG No problem. At the time you asked for it i had a lot of spare time lol :D

    Sw_aG hmm.. But i think i forgot to add in a holder for the player that's trying to go over the pressure plate. Example: '/manuadd <player> pressureplatestepper'

    Sw_aG I updated the plugin so now you can use <player> to target the player standing on the pressure plate.

    I forgot to tell you the permissions -.-
    surprisesigns.register = Command permission = /ss register <name>
    surprisesigns.unregister = Command permission = /ss unregister <name>
    surprisesigns.setcommand = Command permission = /ss setcommand <command>
    surprisesigns.admin = All permissions = /ss register <name>, /ss unregister <name>, /ss setcommand <command>

    Here you go :)
    Link: SurpriseSigns_v1.2.zip
     

    Attached Files:

    Last edited by a moderator: Jul 1, 2016
    Sw_aG likes this.
  27. Offline

    EddieFriday

    Asgernohns Can you make a detailed step by step way to implement the sign? I can't seem to run it.
     
  28. Offline

    Asgernohns

    EddieFriday i Will do that tomorrow North-european timezone (02.21 am)
     
  29. Offline

    EddieFriday

  30. Offline

    Asgernohns

    EddieFriday i wasn't sleeping anyway

    EddieFridayThis is how you make a sign that can trigger a command:

    1. write this '/ss register <name>'. The name stands for the name of the sign. Permission for this is surprisesigns.register

    2. You go and pick any sign and right-click on it to register it as a surprise sign.

    3. Then you want to pick a command for the sign. This can be done in two ways:
    A. You can go into the config and add the command there. Find the String called 'command' under the name of the sign. If you need to target the player that is using the pressure plate then just use '<player>' instead of the player name. (Not recommended method)

    B. You can enter the '/ss setcommand <command>' command, and then right-click the SurpriseSign that you want to set the command for. If you need to target the player that is using the pressure plate then just use '<player>' instead of the player name. (Recommended method)

    4. Then you just need to set a pressure plate on one of the available locations:
    Link to image: http://tinypic.com/view.php?pic=jinwgl&s=8#.U75zoxbHcmM

    5. You're finished and you should be able to go and stand on the pressure plate and it will execute the command that you set it to

    I fixed a couple of problems in the plugin that i spotted, so a new version will be available here.
    Link: SurpriseSigns_v1.3.zip
     

    Attached Files:

    Last edited by a moderator: Jul 1, 2016
    EddieFriday likes this.

Share This Page