[TP/MISC] SuperSigns v2.1 - Make signs better. [1000]

Discussion in 'Inactive/Unsupported Plugins' started by thescreem, Jul 26, 2011.

  1. Offline

    thescreem

    [​IMG]

    <font color="rgb(128, 128, 128)">SuperSigns - Make signs better.</font>

    Current Version: 2.1

    SuperSigns adds a variety of different signs that perform different operations. All the signs are grouped under a certain category for an easy way to remember them.


    Features:
    * Adds many different signs with many useful uses
    * Permissions Support!
    * iConomy Support!

    Future Additions:

    * More signs and categories! Feel free to suggest your own ideas.

    The Different Types of Signs and How to Use Them:


    There are three main types of signs. <font color="rgb(255, 0, 0)">Health</font>, <font color="rgb(192, 192, 192)">Clear</font>, and <font color="rgb(51, 102, 255)">Teleport</font>.
    Each category has a few different signs in them, which perform different functions, but are based around the name of the category.

    Here are how to make the all the different types of signs:
    (To use them you just right-click them)


    Show Spoiler
    Health sign:

    [​IMG]


    You can also write [heal] on the first line instead if you want to.
    <font color="rgb(255, 0, 0)">[WARNING]</font> If you have Essentials, writing [heal] on the first line will not work.

    What it does: This sign will do is heal your health back to maximum hearts.

    The fourth line is how much you want the sign to cost. (iConomy)


    Health Set Sign:

    [​IMG]

    You can also write [heal] on the first line if you want to.
    <font color="rgb(255, 0, 0)">[WARNING]</font> If you have Essentials, writing [heal] on the first line will not work.

    What it does: This sign will set your health to the number on the second line. The number must be between 1 (one) and 20 (twenty). Each increment of 1 (one) will increase your health by half a heart. So in this case, 11, will set your health to five and a half hearts.

    The fourth line is how much you want the sign to cost. (iConomy)




    Show Spoiler
    Clear Sign:

    [​IMG]


    What it does: This sign will delete the current item you have in your hand. If it's in a stack, it will delete one of it in that stack.

    The fourth line is how much you want the sign to cost. (iConomy)


    Clear All Sign:

    [​IMG]


    What it does: This sign will clear your whole inventory.

    The fourth line is how much you want the sign to cost. (iConomy)


    Clear Trashcan Sign:

    [​IMG]

    This sign is currently under development and has no function at the moment. When it is finished, right clicking it will open up a chest screen in which you can place items inside to throw away.

    Since this sign has no use, it doesn't let you add a cost to it.

    Just a note, I did not copy essentials with this sign. I found out essentials had the same idea after I have already made it.




    Show Spoiler
    Teleport Sign:

    [​IMG]

    You may also write [teleport] on the first line if you want to.

    What it does: This sign will teleport you to the coordinates written on the sign.
    You must write the coordinates in order like so: X,Y,Z

    The fourth line is how much you want the sign to cost. (iConomy)


    Teleport Spawn Sign:

    [​IMG]

    You may also write [teleport] on the first line if you want to.

    What it does: This sign will teleport you to spawn.

    The fourth line is how much you want the sign to cost. (iConomy)


    Teleport Block Sign:

    [​IMG]

    You may also write [teleport] on the first line if you want to.

    What it does: When you first right-click the sign, you will receive a message telling you to left click a block, and that once you do so the coordinates of that block will be set on the sign. The sign will then work like a Teleport sign, but with an easier why to get coordinates on it.

    The fourth line is how much you want the sign to cost. (iConomy)


    Teleport Player Sign:

    [​IMG]

    You may also write [teleport] on the first line if you want to.

    What it does: This sign will teleport you to the player written on the third line.

    The fourth line is how much you want the sign to cost. (iConomy)




    Show Spoiler

    Permission NodeWhat it allows you to do
    SuperSigns.UseAllUse all the signs
    SuperSigns.Clear.UseUse a Clear Sign
    SuperSigns.ClearAll.UseUse a Clear All sign
    SuperSigns.ClearTrashcan.UseUse a Clear Trashcan sign [Currently under development, has no function]
    SuperSigns.Health.UseUse both Health signs
    SuperSigns.Teleport.UseUse a Teleport sign
    SuperSigns.TeleportSpawn.UseUse a Teleport Spawn sign
    SuperSigns.TeleportBlock.UseUse a Teleport Block sign
    SuperSigns.TeleportPlayer.UseUse a Teleport Player sign



    Permission NodeWhat it allows you to do
    SuperSigns.CreateAllCreate all the signs
    SuperSigns.Clear.CreateMake a Clear Sign
    SuperSigns.ClearAll.CreateMake a Clear All sign
    SuperSigns.ClearTrashcan.CreateMake a Clear Trashcan sign [Currently under development, has no function]
    SuperSigns.Health.CreateMake both Health signs
    SuperSigns.Teleport.CreateMake a Teleport sign
    SuperSigns.TeleportSpawn.CreateMake a Teleport Spawn sign
    SuperSigns.TeleportBlock.CreateMake a Teleport Block sign
    SuperSigns.TeleportPlayer.CreateMake a Teleport Player sign


    Permission NodeWhat it allows you to do
    SuperSigns.Bypass.CostsBypass paying for signs (iConomy)




    <Edit by Moderator: Redacted mediafire url>
    [​IMG]


    Changelog:
    * v2.1

    - * Fixed a bug with Teleport signs
    - v2.0
    * Added iConomy support
    * Changed the layout of all signs besides Teleport Spawn and Teleport Block signs.
    - v1.2.1
    * Fixed issue with error in defaulting to OP permissions if Permissions isn't installed on your server.
    - v1.2
    * Added two new permission nodes to allow people to use all signs or create all signs.
    - v1.1
    * Fixed a bug with Teleport Block and Teleport Spawn Signs
    - v1.0
    * Initial Release
     
    Last edited by a moderator: Nov 13, 2016
    Lunthus likes this.
  2. Offline

    Liquid Pirate

    Awesome plugin man! just have a slight problem, wondering if you could point me in the right direction.. everything works apart from the [tele] [block] instance, it comes up with this:

    [SEVERE] Could not pass event SIGN_CHANGE to SuperSignsjava.lang.ArrayIndexOutOfBoundsException: 1
    at com.thescreen.SSBlockListener.on SignChange<SSBlockListener.java:122>
    at org.bukkit.plugin.java.JavaPluginLoader$32.execute<JavaPluginLoader.java.462>
    at org.bukkit.plugin.RegisteredListener.callEvent<RegisteredListener.java:58>
    at org.bukkit.plugin.SimplePluginManger.callEvent<SimplePluginManager.java:332>
    at net.minecraft.server.NetServerHandler.a<NetServerHandler.java:969>
    at net.minecraft.server.Packet130UpdateSign.a<SourceFile:41>
    at net.minecraft.server.NetworkManager.b<NetworkMangager.java:226>
    at net.minecraft.server.NetServerHandler.a<NetServerHandler.java:85>
    at net.minecraft.server.NetworkListenThread.a<SourceFile:105>
    at net.minecraft.server.MinecraftServer.h<MinecraftServer.java:451>
    at net.minecraft.server.MinecraftServer.run<MinecraftServer.java:361>
    at net.minecraft.server.ThreadServerApplication.run<SourceFile:422>

    If you have the time, don't worry otherwise.
    Thanks
     
  3. Offline

    thescreem

    Hm, that's strange. It works for me. Anyways, I noticed on the line where the error was at I was still using a method that I moved to a different class but left in that class so I changed it and uploaded the fix. If it still doesn't work, tell me what you do to get the error.

    - Screem
     
  4. Offline

    Liquid Pirate

    Just redownloaded and it works, that was silly! Only downloaded a few days ago didn't realise there was a fix since it was the same version. Sorry to bother you and thanks :D

    EDIT: does work with [block] but still comes up with the error if you put anything else, can you put other words instead of block?
     
  5. Offline

    thescreem

    Ah, not a problem. :)
     
  6. Offline

    shaggydoo

    I have a problem with putting teleport down to pretty small cave (2blocks high 2 blocks wide) that i get stuck in well, something when i TP, you think you could fix that?
     
  7. Offline

    swift_fox24

    BOSEconomy support?
     
  8. Offline

    California292

    multi-world for the tele signs?
     
  9. Offline

    ybot1122

    Can someone help me out with permissions? I've given group permissions to use all signs, yet they don't have permission.

    As an admin, I cut my permissions to only include the sign usage nodes. When I did this, I did not have permission to teleport either. When I changed my permissions back to * (all nodes), it worked fine.
     
  10. Offline

    thescreem

    Will add it in the next update.

    Will add it in the next update.

    What permissions system are you using?
     
  11. Offline

    ybot1122

    Hello,

    The Permissions plugin is Permissions version 3.1.6 (Yeti)
     
  12. Offline

    thescreem

    Hm, that's strange. Do you get any error in the console when trying to use a sign? Or do you just get the 'no permission' message?
    Also, you gave the permissions exactly how they're spelling/formatted? The permission are case sensitive, so giving someone:

    supersigns.health.use

    wouldn't work as you forgot to capitalize some letters. This on the other hand, would work:

    SuperSigns.Health.Use
     
  13. Offline

    ybot1122

    No warnings showed up in console, just the server message: no permission...

    Code:
            permissions:
            - 'SuperSigns.UseAll'
            - 'SuperSigns.Teleport.Use'
            - 'SuperSigns.TeleportSpawn.Use'
    That is what my permissions look like, copied and pasted from your first topic.

    The plugin clearly works, it just seems some sort of permission is missing. Perhaps another plugin is interfering? The other major plugin I run is essentials.
     
  14. Offline

    thescreem

    I'm going to try and test the permission on my test server, to see if it's SuperSigns or another plugin you have that's interfering. If a plugin is interfering, it can't be Essentials, since my test server has it installed.
     
  15. Offline

    ybot1122

    Hello, thescreem
    A few hours later, I get back on to see if I can tweak some things. All of a sudden - SuperSigns works perfectly! Perhaps forgot a simple restart or something, but I didn't change anything.

    This plugin is absolutely awesome, and offers something absolutely unique. Thanks much for this!
     
  16. Offline

    thescreem

    Ah, good to know it wasn't a glitch or bug of some sort. ;)

    Your welcome! I worked hard on this to make sure it's absolutely perfect. :D
     
  17. Offline

    HeaveNFienD

    Is there a way to add a name of player to who you want to send the money with the teleport sign?
     
  18. Offline

    thescreem

    You mean like add a player on the sign and only they can use it? Not to hard, I can do it.


    Other news...

    I'm going on vacation for two and a half weeks so I won't have time to work on any of my plugins, sorry for any inconvenience. :(
     
  19. Offline

    HeaveNFienD

    No lol. Ex:
    I place the sign. When ppl use i want the money to go to myself.
    [tele]
    -1,66,213
    50
    (nick of money destination)

    I'm asking this because. I've created a signal and when people use it, they get money taken from them. But noone seems to get it. lol
     
  20. Offline

    thescreem

    Oooh, I understand it now. I don't have time right now, but I'll try to get it done as soon as I can, since I'll be on a flight in a few hours. I'll probably have an update with this feature in a few days, if everything goes as planned.
     
  21. Offline

    HeaveNFienD

    Will wait for it :) Thanks
     
  22. Offline

    Flenix

    Suggestion: A Permissions sign.

    What it would do, is let you choose a permissions group specified on the second line. It would be useful for servers like mine which have a Race system in place - I want a new player to be able to choose their permissions group without an admin having to set it up.

    There would be two signs: One to set your permissions group, and one to add one, as below:
    [set perms]
    [groupname]

    [cost]


    and to add an extra group (Permissions 3.0 only)
    [add perms]
    [groupname]

    [cost]


    The cost would be optional, and if the groupname is too long you can just put as much as you can in, and it will use the first one in the group that matches (For example, if a group was called "Almighty Super-Powerful Wizard", you could put "Almighty Super-" and it would know what that'd link to)

    Permissions nodes would be:
    SuperSigns.Perms.Set - sets the group to what the sign says, and wipes all others.
    SuperSigns.Perms.Add.[name] - Add a group as named (So only certain groups can add certain other groups)


    Finally you'd need negated nodes, so once a player chooses a group they can't freely change.


    Sorry for the long post, but from that I can make a fully automated race system, where players can choose a race, choose a faction (for sensors etc) and then buy upgrades and pay to change races. This would make us all very happy :)
     
  23. Offline

    Pavianpopo96

    Hallo!!

    This is a nice Plugin!!! Can i do it that i get the money from the Teleports and the Health sings???
    Like this:

    user --------> sing-----------> Admin
    The user give the money to the sing and the sing give the money to the admin!!! or to the user who build the sing!!!

    Can i do something like this?????

    Pavianpopo96

    I hope you understand me!
     
  24. Offline

    Simon13

    Hello, how to let Default players use a teleport sign, without installing Permissions. (They will screw up my plugins)
    Please help my server needs to be up in september first. I just saw the problem. When a person clicks to TP it just says "You don't have permission to use teleport signs" please help!
     
  25. Offline

    thescreem

    Hm, I'll change it so that if you're using OP Permissions, then everyone can use signs and only OP's can make them.

    This feature has been requested before and I'm in the process of updating SuperSigns to include all the requested features. :) (Now that I have SuperLog out of my way :p)

    This is actually a great idea, I'll add it in the next update. Although it's only going to support SuperPerms, since Permissions 2/3 is inactive now.
     
    harryjamesuk likes this.
  26. Offline

    Simon13

    That's great news. I hope you let it out before september 1st, but i don't want to rush you. Great job, and listening to commuity! A+
     
  27. Offline

    Simon13

    I think you sould make that heal would Add Hp not set Hp.
     
  28. Offline

    Simon13

    Will you update this mod? I really like it, its simple and easy to use! pls ? UPDATE
     
  29. Offline

    thescreem

    Sure, I can update this. I'll have it done tomorrow, as I don't have time left today.
     
    Simon13 likes this.
  30. Offline

    Simon13

    Yes, very very good news. Your plugin is one of the best *respect*
     
  31. Offline

    Oneduality

    Excellent idea, I did have two issues however.. ( I used the file on drop box )

    I was able to create a sign to coordinates using:

    Code:
    [teleport]
    -146,63,-89
    
    Worked superbly .. However when I tried using "spawn" I teleported into the ground somewhere .. also when I try to do a block teleport I get the following error..

    Code:
    19:04:13 [SEVERE] Could not pass event SIGN_CHANGE to SuperSigns
    java.lang.ArrayIndexOutOfBoundsException: 1
            at com.thescreem.SSBlockListener.onSignChange(SSBlockListener.java:122)
            at org.bukkit.plugin.java.JavaPluginLoader$36.execute(JavaPluginLoader.java:506)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1046)
            at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    The sign drops as expected but right clicking on it does nothing ..

    EDIT:

    Disregard, I did a totally boneheaded thing and forgot to put [ ] around the word "block" which is what was causing that error ... however the spawn teleporter still puts me under ground... just less important now that I can use the rest .. sorry for that
     

Share This Page