LockBuy

LockBuy

ChrizC on EsperNet

SOURCE | PLUGIN PORTAL

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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of tsuna25 tsuna25 Aug 14, 2012 at 14:23 UTC - 0 likes

    <<reply 874380>>

    You should ask on the spout forums,but I'll try picking it up.

    BFAK:tsuna25,90623978,dfe9d3dbc8e98a1ff97d2aed87095a02da597eb13a374eed60682901e9e35614

  • Avatar of dunem666 dunem666 Aug 14, 2012 at 10:36 UTC - 0 likes

    bump! SOMEONE PICKUP!

  • Avatar of dunem666 dunem666 Jul 24, 2012 at 19:18 UTC - 0 likes

    please update!

  • Avatar of IPodTouch3x3 IPodTouch3x3 Apr 07, 2012 at 21:15 UTC - 0 likes

    UPDATE PLEASE !

  • Avatar of Fixatec Fixatec Jan 17, 2012 at 14:57 UTC - 0 likes

    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/

    Last edited Jan 17, 2012 by Fixatec
  • Avatar of Finnikin Finnikin Dec 24, 2011 at 23:29 UTC - 0 likes

    I can't get it working.

    It always says ... [LockBuy] You must define a proper price.

    What Do I Do ???

  • Avatar of Hayden06 Hayden06 Dec 11, 2011 at 17:45 UTC - 0 likes

    UPDATE THIS!!! Please?

  • Avatar of undergunner undergunner Dec 03, 2011 at 08:15 UTC - 0 likes

    Im getting the same problem, I am using iConomy 6 and the latest LockBuy!?! Need this to work urgently!

  • Avatar of newminer787b newminer787b Nov 03, 2011 at 23:35 UTC - 0 likes

    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)

  • Avatar of RogueCmdr RogueCmdr Oct 28, 2011 at 04:06 UTC - 0 likes

    Hey Owner Can you update the plugin please

Facts

Date created
Sep 09, 2011
Categories
Last update
Oct 07, 2011
Development stage
Release
Language
  • enUS
License
ChrizC copyright.
Curse link
LockBuy
Downloads
5,897
Recent files

Authors