[INACTIVE][ECON]SignTrader 1.0.7 - Trading with signs! (617)

Discussion in 'Inactive/Unsupported Plugins' started by darknesschaos, Feb 3, 2011.

  1. Offline


    SignTrader - Trade with Signs!
    Version: v1.0.7 - CB (617) tested
    This Bukkit plugin allows servers to use signs as a functioning shop tool. Simply set the sign in the appropriate format, optionally link it to a chest and you can have a sign that either vends from a chest you own or you can set the sign to sell to users items they normally couldn't get as something like a modified /give with a set location. Simply punch the sign to get a little more information to understand what it does and how to use it.

    /signtrader -s p - set the sign that you punch, the 'p' is optional and makes it persist.
    /signtrader -sc p - link signs and chests to each other, must be within 40 blocks and on the same world and the 'p' is optional
    /getdata - returns the data of the item in hand (name, amount, and durability.)

    [wheatsprout]Other Plugin Support[wheatsprout]
    You don't need any of these for this plugin to work.​
    Supports protection from LWC, (2.0 only) with lwc installed SignTrader forces players to sell from chests that they own.​
    Supports Permissions from TheYeti (2.5.4 tested) with the following nodes This defaults to op.txt if not present:​
    • signtrader.MakeGlobalSign - so the player can activate "Global" signs defa
    • signtrader.MakePersonalSign - so the player can activate "Personal" signs
    • signtrader.admin.BreakAnySign - so the player can break any sign (duh)
    • signtrader.Use - so the player can use any player sign or activated Global sign
    • signtrader.admin.SetOwner - so the player can set the owner of signs.
    Supports iConomy (4.0 +) for usage with the local money system.

    [wheatsprout]Sign Format[wheatsprout]
    The sign format is as follows:​
    Line one - Global or Personal - denotes sign type, personal pulls from chests, Global doesn't use chests.​
    Line two - amount:ItemType:durability or amount:$ - this is the payment line (what the chest will get from the player) amount is how much the player wants to recieve, ItemType is the item number of the item they want to recieve from player if the other is chosen it will be the amount of money the sign owner wants to get from the player.​
    Line three - amount:ItemType:durability or amount:$ - Similarly to line two, this is what is removed from the sign owner and given to the player.​
    Line four - leave this one alone, [Activated] is put in the line to show it is an active sign.​
    Example 1) - trade sign​
    Line # - text​
    1 - Global​
    2 - 1:3​
    3 - 1:35:1​
    This sign trades for dirt and gives the user orange wool.​
    Example 2) - Sale sign​
    1 - Personal​
    2 - 1:$​
    3 - 64:3​
    This sign takes 1 of iconomy money from the sign user and gives it to the owner, and gives the user 64 dirt.​
    Example 3) - Freebie sign​
    1 - Personal​
    2 - Free​
    3 - 1:3​
    This sign gives 1 dirt for free to the user​
    Example 4) - Purchase Sign​
    1 - Personal​
    2 - 1:3​
    3 - 1:$​
    This sign takes money from the owner and gives to the user and takes 1 dirt from the user and puts it into the chest.​
    When posting issues here please write the following:​
    * What the sign has written on it.​
    * What output you got from the console. (If any)​
    * What you expected to happen.​
    * What actually happened.​
    * What plugins (and their versions) you are using with this (including version number.)​
    * What version of this plugin you are using.​
    Failure to do these will result in you being called an idiot.​
    Show Spoiler

    Version 1.0.7​
    Version 1.0.6​
    * removed the sign breaking prevention function...​
    Version 1.0.5​
    * Fixed an abuse problem​
    * Now protects signs and blocks from destruction of non-op(or permissioned) and non owners of signs (owners of global signs are the ones who placed them.)​
    Version 1.0.3​
    * Updated to be compatable with 600+​
    Version 1.0.2​
    * Fixed link with newest version of lwc.​
    * Null pointer bugfix​
    * Rewired the sign recognition code.​
    Version 1.0.1​
    * Trading sign bugfix​
    * re-added the /signtrader -s command​
    * fixed up command interface a bit​
    * added /getdata so players can find the durability of the item in hand.​
    * added /signtrader -so (OwnerName) needs "signtrader.admin.SetOwner" node or player being op.​
    * now prevents people from linking signs and chests that aren't their own.​
    Version 1.0.0​
    * Monsterous update​
    * Too many to list...​
    Version 0.9.3​
    * Fixed bug where appropriate files were not created.​
    * Cleaned up item.txt creation code.​
    * update to iConomy 3.0 support?​
    Version 0.9.2​
    * Fixed bug where chests weren't detected, possibly other fixes.​
    * still not sure on iConomy, please, someone, let me know.​
    Version 0.9.1​
    * Fixed a bug where signs were not deleted from the sign list when they were destroyed.​
    Version 0.9​
    * Added Sign protecting features​
    * hopefully a fix to iConomy support​
    * now players need to set personal signs.​
    Version 0.8​
    * Added a feature that displays sign information in a more detailed form when the sign is punched.​
    Version 0.7.1​
    * hopefully a bugfix that solves a problem with named worlds​
    * getting chest owner works nicely with LWC​
    Version 0.7​
    * Fixed purchasing and selling to chests (Needs testing.)​
    Version 0.6​
    * Removed incorrect format error.​
    * Chests can now: trade, get donations, give stuff out.​
    * Chests still can't "sell via iConomy"​
    * probably a few other fixes​
    Version 0.5​
    * Release of locking protection for global signs (so not anyone can make them)​
    * signs "should" work fine with chests, however I am afraid they ignore protections.​
    * item blacklisting possible.​
    * permissions support.​
    * iConomy support.​
    * ect.​
    Version 0.1​
    * Initial release of the plugin.​

    Attached Files:

    rasse, shadrxninga and NEO like this.
  2. Offline


    Yes I do.

    The global one and item configs in the folder generated.
  3. Offline


    do you get any errors in the console? this is a strange error, but i need to update the plugin anyway.
  4. Offline


    Patiently awaits said update.

    All I need is this plugin working with the latest iConomy and I can launch my server. In the mean time, could I make the signs for my Global shop, and just activate them when the update is released?
  5. Offline


    yes. I plan to add a feature where signs will be activated on placement too. but the option to activate signs will stay.
  6. Offline


    Hmm I don't really understand why you wait that long and want to put bunch of new features in before you release fixes. Uploaded my own fix for iConomy4 for all the waiting ppl. It's still a bit bugged but mostly works with 493 and iConomy4+.
    UNOFFICIAL (don't expect any support, it works or works not): http://dl.dropbox.com/u/22887672/SignTrader.jar
  7. Offline


    Thx for Unofficial, work fine.
    With Bukkit 493 and iConomy 4.4.5
  8. Offline


    I just don't have time to work on things. I really can only pick and choose one thing at a time. I planned on doing something today, but that is awesome! @Sevenos - if you tell me the changes you made, it will make things quicker too.
  9. Offline


    I've only changed the iConomy imports (com.nijiko.coelho.iConomy.iConomy and com.nijiko.coelho.iConomy.system.Account AFAIR). Everything else seems to work, but sometimes it doesn't recognize the name of the sign owner (null) even if it's name is on the sign.

    Also, I would suggest to put the items in the inventories instead of dropping them:

  10. Offline


    Thanks for this. Let's just hope the official version has working personal signs with full buying/selling support.
  11. Offline


    the problem with that was it would not update the player inventory when I did it.
  12. Offline


    bit early to ask for support but
    00:31:07 [SEVERE] com/nijikokun/bukkit/iConomy/iConomy loading SignTrader v0.9.3
     (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/iConomy/iConomy
            at com.polycrypt.darknesschaos.SignTrader.Tools.testiConomy(Tools.java:3
            at com.polycrypt.darknesschaos.SignTrader.SignTrader.onEnable(SignTrader
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.iConomy.iConom
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 12 more
    all the plugins are the newest version, i just installed all this stuff last night so it's gotta be the newest
  13. Offline


    yeah, @moemoe760 my plugin is a little behind. I'm rewriting the code right now to improve performance. (it would lag my server, its a gaming rig...)
  14. Offline


    There is one slight problem I've found with this plugin... If you sell a damaged tool/armor to a shop, the item ends up completely repaired in the chest. For plugins like mcMMO, where items can be repaired to raise a repair skill, damaged items are often desired, so that players can manually repair the item to raise their skill.

    Would it be possible to fix this so that damaged items retain their durability levels during transfer? If so, it would help a number of players (myself included) in setting up repair shops that buy damaged goods and resell repaired goods.
  15. Offline


    @Ikarirain - I understand what you want. I will be implementing a feature where items will retain their durability and the same will be for wool too, but I am unsure when this change will come to be.
  16. Offline


    What about to make new version with wool colors support, like 35:1, 35:4 etc. or steps types 44:1 or 44:2.
    Our server need it!
    Thanks man.
  17. Offline


    it will happen eventually, I just dont have the time to work on the plugin as i wish i could.
  18. Offline


    The unofficial works on build #531 however it says "error nog config file found"
    keep up the good work!
  19. Offline


    i use the Preview Version
    The sign are works fine but the Chest are not Protectet.
    When i protect the Chest the sign dont work.
  20. Offline

    Tony Xu

    Is there a way to save?
    Whenever I restart he server
    I need to activate all the sign again
  21. Offline


    should do it automatically, but seriously, this is old. I have a new release coming soon, wait for that.
  22. Offline


    Care to enlighten us when "soon" is?

    Also, will you be fixing the automatic repair of tools?
  23. Offline


    will do, and probably by monday assuming no problems.
  24. Offline

    Alex Berndt

    Works just fine for me :D
  25. Offline


    How is the status on the update?
  26. Offline


    I actually created a thread in plugin development on the progress of this, it is nearly done, There may be a release tonight depending on how industrious I feel.

    updated. SHOULD be good, couldn't quite test everything.

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


    Everything seems great, except I can't seem to get it to recognize my iConomy. I'm currently running:
    latest verion of SignTrader and iConomy
    CB 556

    When I enter $ on a trade, I get the message "There is no Economy system."

    Any ideas? Is there any configuration necessary on my end to get SignTrader to recognize iConomy?
  28. Offline


    What version of iConomy are you running exactly? and what did the console say when you loaded it?
    edit: It automatically should recognize iConomy.
  29. Offline


    Holy Crap! I never thought I'd see the day. Did you fix selling used tools in chests?

    Also, can we now sell dyes and different woods?
  30. Offline


    in essence, yes, stack durability now counts for something. It, in theory, should only sell tools that have no damage on them, you can sell damaged tools, but it would be difficult. (As you would need to know the damage on the tool.) In a later update I will make a command that tells you the durability of the item you are holding.

    The feature I'm most proud of at the moment is the remote chest system.
  31. Offline


    Remote chests you say? Do tell.

    EDIT: Why would you take out the ability to set signs with a command? I guess we have to redo all of our signs now because we can't activate them.

Share This Page