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

    Verttex

    Your just pumping these out dude.
     
  3. Offline

    captainawesome7

    @Verttex I know! I decided it was time for me to learn how to read a signs text, just for future reference. Anyways, my server used to have essentials signs, so you could do the:
    [FREE]
    Diamond
    And a right click would give you diamond, so I just make the top sign that and the botton sign:
    [TAKE]
    264
    So because we had essentials everybody goes and clicks it, andI LWC protected the chest below so that people lose their diamonds and I get them :D
     
  4. Offline

    Verttex

  5. Offline

    captainawesome7

    awesomeville.servegame.com:25564
     
  6. Offline

    Verttex

    K ill check it out. Im using like all your plugins on my server btw. I really like all of them. I find essentials confusing so I just use yours and McDocs.
     
  7. Offline

    captainawesome7

    @Verttex Personally, mcdocs is my favorite plugin of all time. It is the absolute easiest to use and yet most useful plugin on the face of the earth. I use it for /help, /rules, and about every other text returning command you can think of. I even added easter eggs (lol).
    Thank you very much @Tazzernator
     
  8. Offline

    Verttex

    PERMISSIONS: SIMPLESIGN.WRITE
     
  9. Offline

    captainawesome7

    @Verttex What? These: ?
    Permissions Nodes:
    The nods 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
     
  10. Offline

    Verttex

    shut up and get back on the server
    also i havea plugin request for u
    itz liek in teh pugin riquest place
    orr righ heer: http://forums.bukkit.org/threads/req-sec-user-based-protection-but-not-residence.18187/
     
  11. Offline

    captainawesome7

  12. Offline

    JamestheLeet

    Is putting
    [TAKE]
    All
    possible?
    Or do you have to put itemids in there.
     
  13. Offline

    captainawesome7

    @JamestheLeet It only takes 1 id, because taking all items from a player is kind of harsh...
     
  14. Offline

    DrBowe

    Is there a way to limit the [GIVE] signs? For example, I want hidden easter eggs throughout my map, and (by use of your plugin) I'd like to make them signs placed in secret locations, where you could get a neat little prize. However, I'd only want 1 use per player, obviously.

    Any way you can add this, if it isn't already?
     
  15. Offline

    Riolu

    This is great and useful plugin :D Traps is sweet idea, but I have one question...
    Can you make this plugin avalible to use commands? Example: create sign with "[COMMAND] /online" and sign with something like "Show online players" above, that will use command(from player, who click sign) /online and shows players online.
    Also, make some permission codes for that.

    Is that possible and can you make that? ;)
     
  16. Offline

    captainawesome7

    @Riolu
    So you want a sign that looks like this:
    [CMD]
    online
    I can do that, it would just execute whatever command you put on the second line, I don't know about multi line commands (it will probably work though). I will just make it when I get home and make the permission node: simplesign.command
    I'm pretty sure if the command is something like:
    ban captainawesome7
    And somebody that doesn't have the ban node clicks it, I think it will say you don't have permission just like it would if they typed /ban captainawesome7
     
  17. Offline

    Fluff

    Yup, it'll work exactly like that since it's how CommandSigns works.
     
  18. Offline

    captainawesome7

    @Fluff Sweetness

    @Riolu Update to 1.2 for [CMD], making a new line doesn't add a space, so words split between lines still work, and spaces added to a line after text, like |give | will add the space to the command. Example:
    Code:
    [CMD]
    give capta
    inawesome7
    dirt 64
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  19. Offline

    Riolu

    I don't know, if you know that bug, but that nice to use like trap :D
    Look my video and add as example, if you want.
     
  20. Offline

    captainawesome7

    @Riolu I think I *might* leave it in, but add a new Permission node for divide by 0 signs.
     
  21. Offline

    Riolu

    What about redstone support? :3
     
  22. Offline

    captainawesome7

    @Riolu What do you mean redstone support? There wouldn't be a way to get the player interacting with the sign if he doesn't do it directly.

    Just something I thought funny, while developing the poop shower function (PS), I accidentally put this:
    Code:
                        for(i=1; 1<8; i++) {
                            ploc.getWorld().dropItemNaturally(hloc, poop);
                        }
    Instead of this:
    Code:
                        for(i=1; i<8; i++) {
                            ploc.getWorld().dropItemNaturally(hloc, poop);
                        }
    So it spawned infinite poop above me and I had to force quit the Java process lol :)
    BTW, 1.3 is out, with the long awaited (not really) Poop Shower!

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

    Riolu

    Well, that would be great, if player interacting with the sign if he doesn't do it directly, but use switch, button or plate, connecting them with a sign by redstone :)
     
  24. Offline

    captainawesome7

    @Riolu Again, that doesn't work. When the sign is triggered by redstone there is no way to tell WHAT triggered the sign with redstone.
     
  25. Offline

    Riolu

    Some more questions:
    1. Can I use 2 (or more) functions as one? I mean, can I make one sing with both [HURT] and [THROW] or something?
    2. Can I make limit of giving items? Or, maybe you can recommend some other plugin for that?
    3. When I use long messages with [MSG], there is appears wrong spaces
    [​IMG]
    [​IMG]
    I don't insert any spaces.
     
  26. Offline

    captainawesome7

    @Riolu No, you cannot use more than one function. As far as spaces go, I probably just put a space in there for some reason.
     
  27. Offline

    Riolu

    What about items limit? :)
     
  28. Offline

    daleisme

    Color is not working for me

    Fist line: &4
    Seconds line: RULES!
    Third line: Blank
    Fourth line: Blank
     
  29. Offline

    AppleGuy_RL

    Hey!
    i like this plugin, its handy.
    But the only thing this plugin misses is the ability to stack the signs and let them do multiple commands and an If and And and Or sign exemple: from topto bottom: - sign 1 "10Gold for 1Diamond" -Dirt -Sign 2 "[Give] 264 1" - dirt -sign "if" -dirt -sign "[Take] 266 10" and then it would take 10 gold and give you 1 diamond.
    if you could make this i would love your plugin.
    thanks
     
  30. Offline

    captainawesome7

    @AppleGuy_RL Um, wouldn't it make alot more sense to ask me to make a trade sign? I can add one of those, like:
    [TRADE]
    gold-10
    diamond-1

    @AppleGuy_RL I added a trade sign, about to update the OP and download. I am not going to make a stacking sign function.

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

Share This Page