LockBuy
LockBuy
Features
- Buy and sell the rights to Lockette containers. (doors, chests, furnaces, dispensers)
- Supports: iConomy (4, 5 & 6), BOSEconomy, Essentials Economy.
Details
LockBuy allows you to sell and buy the rights to Lockette containers. You can set the price, and then let the plugin automatically transfer control of the container when it is purchased.
NOTE: "Container" refers to all items than can be locked by Lockette, i.e. Furnaces, Doors, Dispensers and Chests.
How To Use
To create a sign which allows you to sell your Lockette container, you must first lock a container. Then, place your LockBuy sign adjacent to the Lockette sign (this can mean above or below, or any side. As long as both signs are "touching," it will work). Make sure your sign has this format:
[LockBuy] <amount> <blank> <blank>
In amount, you can add extra info, as long as the number is still there. For example, you can have "Price: $5" and the plugin will recognize the price as 5. If successful, the fourth line will update to a green [Active] tag. If unsuccessful, the sign will return to your inventory, and you will receive an error.
To enable or disable a sign (for example, to allow you to destroy the sign without buying the container), simply right click the sign. It will toggle states.
To use a sign, left click it. Once you have bought a container, the LockBuy sign will disappear! (optional)
Permissions
LockBuy supports both Permissions 2.x and Superms.
- lockbuy.admin.toggle - this node allows the player/group to toggle the signs between active and inactive. (ops only if no Permissons installed)
- lockbuy.admin.place - this node allows the player/group to place LockBuy signs for any Lockette sign. (ops only if no Permissions installed)
- lockbuy.user.use - this node allows the player/group to use LockBuy signs.
- lockbuy.user.place - this node allows the player/group to place LockBuy signs next to Lockette signs they currently own.
Configuration
The configuration file config.yml will be generated with the default values:
payOriginalOwner: true clearOtherOwners: false allowNegative: false signsPersist: false destroyMoreUsersSign: false
- payOriginalOwner - when set to true, the original owner of the Lockette container (i.e. the first defined) will get paid the amount the container was sold for.
- clearOtherOwners - when set to true, the plugin will clear all the owners from the Lockette sign before adding the new owner. Otherwise, it only changes the *main* owner (i.e. the first one defined)
- allowNegative - when set to true, the plugin will not check to see if this transaction sends the player's balance into a negative amount.
- signsPersist - when set to true, the LockBuy sign will not disappear when the Lockette container is purchased. When set to false, the LockBuy sign disappears.
- destroyMoreUsersSign - when set to true, if a More Users sign is found, it will simply be destroyed, instead of clearing the names from it. When set to false, and clearOtherOwners is true, the More Users sign will simply have the names removed.
@dunem666
You should ask on the spout forums,but I'll try picking it up.
bump! SOMEONE PICKUP!
please update!
UPDATE PLEASE !
I don't think that this plugin will be updated anymore.
I've made a substitute for it called SellSign. You can find it here http:dev.bukkit.org/server-mods/deejdd/
I can't get it working.
It always says ... [LockBuy] You must define a proper price.
What Do I Do ???
UPDATE THIS!!! Please?
Im getting the same problem, I am using iConomy 6 and the latest LockBuy!?! Need this to work urgently!
I keep getting a bunch of these errors:
17:58:26 [SEVERE] Could not pass event PLUGIN_ENABLE to LockBuy java.lang.NoClassDefFoundError: com/nijikokun/register/payment/Methods at net.gb.chrizc.lockbuy.LBPluginListener.onPluginEnable(LBPluginListene r.java:30) at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.j ava:585) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:339) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:964) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154 ) at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:413) at org.bukkit.Bukkit.reload(Bukkit.java:182) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java: 22) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16 3) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3 55) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3 51) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
Hey Owner Can you update the plugin please
Well gotta the same error than joliolly [You must define a proper price] this using the LockBuy v1.2 and iConomy 6, but if I use the LockBuy V1.1 and iConomy 5 Works, But iConomy crash :P so plz help us :D [Just to say I see there is no com / nijikokun / register / payment / methods in LockBuy v1.2
Hey guys, i am getting - you must define a proper price. But i am putting in a proper price
Hello Author.
Any word on when this will support Permissions 3? I'm new to setting up a bukkit server, I have your plugin on my server. I get an active sign on the Lockbuy sign but when someone clicks on it, it says they dont have the permissions. I'm running permissions 3, so that all I can think of that id stopping this from working.
Cheers.