Inactive [FUN] SimpleSign v1.5 - Sign Colors + Functions (traps) [953]

Discussion in 'Inactive/Unsupported Plugins' started by captainawesome7, May 21, 2011.

  1. Offline

    captainawesome7

    Go here for new versions!
    SimpleSign - Use colors in signs and make sign traps/functions




    Version: 1.5
    SimpleSign is a fun plugin. It adds colors to signs, just type &a-f/1-9 and it adds traps/functions. The sign functions are below, as well as the permissions node required for making a sign with that function.

    Features:
    • Colors to signs
    • Sign Traps/Functions
    • Permissions
    Traps+Functions Example:
    Traps+Functions (open)
    Traps+Functions (open)

    *Note, the [TRADE] sign needs to be clicked directly, to prevent fraud ;) *
    To make a sign do something, set it up as shown below:
    [​IMG]
    The TP sign uses:
    [TP]
    X coords
    Y coords
    Z coords
    For the take sign, use the following setup *Note the chest is generated automatically, and you CAN use a chest protection plugin on it*
    [​IMG]
    When somebody right clicks on the top sign, then will perform the action, if it's kill they would die, etc.

    Trap And Function Types:
    InDepth (open)
    InDepth (open)

    In Depth Explanation:
    Commas indicate the next line of the sign:
    • [TP], x, y, z - Teleports the player to the given coordinates
    • [GIVE], id, amount, durability - Gives the player the itemstack, amount and durability are optional
    • [HEAL], heartamount - Heals the player the given amount of hearts
    • [HURT], heartamount - Damages the player the given amount of hearts
    • [SETHEARTS], heartamount - Sets the players health to the specified amount
    • [SPAWN] - Teleports the player to the world's spawn
    • [TAKE], itemid - Takes one itemstack of the given ID from the player, and puts it in a chest next to the bottom sign
    • [SPAWNMOB], Mobname, amount - Spawns the given mobname and amount is optional, first letter of mob name Must be capital (ie: Chicken)
    • [KILL] - Kills the player
    • [THROW], force - Throws the player up into the air, a force is needed, effective forces are 1-10
    • [BURN] - Burns the player for 1000 ticks
    • [LAVA] - Places still lava where the player is standing, be careful with this one!
    • [MSG], mt, mt, mt - Sends the player the message on the other lines put together to equal one string. Supports colors with &a-f/1-9 (not on sign, but in message)
    • [CMD], args, args, args - Makes the player perform the command. Use %name to represent the interacting player's name. DOES NOT add spaces between lines, so this would work as /give captainawesome7 dirt 64:
    • Code:
      [CMD][/COLOR]
      [COLOR=#ff0000]   give capta[/COLOR]
      [COLOR=#ff0000]   inawesome7[/COLOR]
      [COLOR=#ff0000]   dirt 64
    • [PS] - Stands for poop shower, it showers the player with 8 coco beans (or whatever they're called)
    • [TRADE], args, args - Trades the top item and amount for the bottom item and amout, Format and example (You need to right click this sign directly, not a sign 2 above it):
    • Code:
      [TRADE][/COLOR]
      [COLOR=#ff0000]   4-2[/COLOR]
      [COLOR=#ff0000]   1-1

      Format:
      Code:
      [TRADE][/COLOR]
      [COLOR=#ff0000] idtobetaken-amounttaken[/COLOR]
      [COLOR=#ff0000] idtobegiven-amountgiven
    Permissions Nodes:
    The nodes are to MAKE the signs, not use:
    • [TP] = simplesign.tp
    • [GIVE] = simplesign.give
    • [HEAL] = simplesign.heal
    • [HURT] = simplesign.hurt
    • [SETHEARTS] = simplesign.sethealth
    • [SPAWN] = simplesign.spawn
    • [TAKE] = simplesign.take
    • [SPAWNMOB] = simplesign.spawnmob
    • [KILL] = simplesign.kill
    • [THROW] = simplesign.throw
    • [BURN] = simplesign.burn
    • [LAVA] = simplesign.lava
    • [MSG] = simplesign.message
    • [CMD] = simplesign.command
    • [PS] = simplesign.poopshower
    • [TRADE] = simplesign.trade

    Video:
    Show Spoiler
    Show Spoiler



    Downloads:
    The source code is included in the .jar (/me/captain/SimpleSign/)

    Planned Changes
    Add more types of signs/traps :)

    Changelog:
    Version 1.5
    • Added %name variable in the [CMD] sign
    Version 1.4
    • Added [TRADE]
    • ^ That one is slightly AWESOME ^
    Version 1.3
    • Added [PS]
    • ^PoopShower LOL^
    Version 1.2
    • Added [CMD], arg, arg, arg
    Version 1.1
    • Added [THROW], force
    • Added [MSG], Message text, message text, message text
    • Added [BURN]
    • Added [LAVA]
    Version 1.0
    • Release
    [​IMG] To me to support my plugins :)[/CODE][/COLOR][/LIST]
     
  2. Offline

    AppleGuy_RL

    Thanks to implement the trade sign.
    But could you also implement to choose the durability of the item you get when you trade?
    I want to use it for exemple: 1 Gold ignot => Yellow wool
    Thanks
     
  3. Offline

    michael05242002

    Yes i hope so. It is appreciated.
     
  4. Offline

    kheatsopon

    Help Not Working :S
    COnfuze How to make
    it?
     
  5. Offline

    captainawesome7

    Make what?
     
  6. Offline

    Zehir

    how to add player name on [CMD] ?
     
  7. Offline

    captainawesome7

    What do you mean?
     
  8. Offline

    Zehir

    example:

    If my name is Zehir the [CMD] sign send the command /ban Zehir Test 10
    If my name is Notch the [CMD] sign send the command /ban Notch Test 10

    (Test is the reason and 10 for 10min)

    Edit: Same the %name% of msg for leaving a region on worldguard
     
  9. Offline

    captainawesome7

    i never added that. I can do it in a few minutes if you want
     
  10. Offline

    Zehir

    ok thank you is to make a series of questions and to have a temporary ban if a wrong answer is chosen, I can not stand players who demand five times a day how do you build.
    (google translate from french)
     
  11. Offline

    captainawesome7

    Added. Download v1.5. Use %name as the player's name
     
  12. Offline

    Zehir

    thank you I will try

    Not work
    "No players natched query"

    Code:
    [CMD]
    kick %name
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  13. Offline

    captainawesome7

    Hm. One minute.

    Oh I forgot the stupidity of replacing within strings, lemme fix that real fast.

    @Zehir redownload

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  14. Offline

    Zehir

    same error
     
  15. Offline

    captainawesome7

    It works for me.
     
  16. Offline

    Zehir

    what you write?
     
  17. Offline

    captainawesome7

    kick %name
    When i right clicked it kicked me.
     
  18. Offline

    Zehir

    I have:
    [CMD]
    kick %name
    and this not work for me :/

    Edit:
    found!
    filezilla not send the new file :/

    new problem, the player need the permissions for use the command but I dont want give the /ban cmd to player, an idea?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  19. Offline

    kheatsopon

    Make trap
     
  20. Offline

    captainawesome7

    The whole point of the sign is that it runs the command as if a player typed it in. I'm not allowing permissions bypassing through [CMD] signs.
     
  21. Offline

    Jadedwolf

    I asked a few weeks ago for permissions support for the colored signs option, as so not just anyone can put color on signs.
     
  22. Offline

    Harley16

    how do i get it to work on bukkit 1000? its not working for me
     
  23. Offline

    eNegoTiuM

    Hey!

    I've got:
    "Error: String index out of range: 0"
    When type:
    "[SPAWNMOB]
    91"
    (91 is a Sheep - The names won't works for me)

    What's the problem?
     
  24. Offline

    captainawesome7

    Use Sheep, it it stated in a shit ton of places that you have to use capital first letters.
     
  25. Offline

    eNegoTiuM

    When I put:

    Code:
    [SPAWNMOB]
    Sheep
    Then I've got error:
    Code:
    Error: Invalid sign.
     
  26. Offline

    xsolar66

    simple request, don't know if it is posssible though -

    activate these signs through redstone?

    obvious example- someone steps on a pressure plate, it triggers the sign (the one without the info on it), and 3 zombies spawn or whatevs =)
     
  27. Offline

    captainawesome7

    It would work for some of them but alot of them require a play to interact with the sign directly.
     
  28. Offline

    michael05242002

    I am using #1000 and permissions plugin.
    Players who is not an op and do not have any permission (of simplesign) are able to make SimpleSign. For example, they can use the [SETHEARTS] sign to heal themselves. This flaw nearly ruin my econ :(
    Please fix it because it is an adorable plugin
     
  29. Offline

    reed761

    where are the pemisions that let you use the sign not make it
     
  30. Offline

    captainawesome7

    ...?
     
  31. Offline

    CakRochi

    Hey, I'm not good at English well.
    Hmmm... I mean....
    I hope item give with teleport.
    OK? AHHH!!!!
    [GIVE]
    271
    1
    0
    WITH
    [TP]
    77
    77
    33
    can understand?
     

Share This Page