Commands & Permissions
Commands & Permissions
Commands
Command | Description |
---|---|
/buy and /sell | Does the same as /dynshop buy and /dynshop sell, but they have to be enabled in the config |
/dynshop buy <material> (amount) | Buy the item(s) |
/dynshop sell <material> (amount) | Sell the item(s) |
/dynshop price <material> | Gets the actual price for the item |
/dynshop list (page) | List the items on the given page |
/dynshop admincmd | Shows all admin commands |
/dynshop buytax/selltax | Get the actual buy-/selltax |
/dynshop setbuytax/setselltax <Percent> | Set the buy-/selltax |
/dynshop setall price/min-price/max-price/limit/available (value) | Set the value for all items |
/dynshop setprice: <material> <price> | Set the price |
/dynshop setpricechange <percent, amount or constant> | Sets the pricechange (See config) |
/dynshop setpricechangespeed <speed> | Sets the pricechangespeed (See config) |
/dynshop reloadconfig | Reload the config from the file, overwrites any changes! |
/dynshop saveconfig | Save the config to the file |
/dynshop | Shows the help text |
Permissions
Troubleshooting:
To give all permissions from a parent use e.g. dynshop.customer.*
If this doesn't work for some reason, you have to give all single permissions.
- dynshop:
- description: Gives access to all DynamicShop commands.
- children:
- dynshop.customer: true
- dynshop.info: true
- dynshop.admin: true
- dynshop.globalsigncreate: true
- dynshop.psigncreate: true
- dynshop.customer: true
- description: Gives access to all DynamicShop commands.
- dynshop.customer:
- description: Allows you to trade items and receive information.
- children:
- dynshop.customer.buy: true
- dynshop.customer.sell: true
- dynshop.customer.info: true
- dynshop.customer.buy: true
- description: Allows you to trade items and receive information.
- dynshop.info:
- description: Allows you to receive information like prices.
- children:
- dynshop.customer.info.price: true
- dynshop.customer.info.list: true
- dynshop.customer.info.buytax: true
- dynshop.customer.info.selltax: true
- dynshop.customer.info.price: true
- description: Allows you to receive information like prices.
- dynshop.admin:
- description: Allows you to change configurations and view the admin commands.
- children:
- dynshop.admin.setprice: true
- dynshop.admin.setpricechange: true
- dynshop.admin.setpricechangespeed: true
- dynshop.admin.setall: true
- dynshop.admin.setbuytax: true
- dynshop.admin.setselltax: true
- dynshop.admin.saveconfig: true
- dynshop.admin.reloadconfig: true
- dynshop.admin.setprice: true
- description: Allows you to change configurations and view the admin commands.
- dynshop.customer.buy:
- description: Allows you to buy items.
- children:
- dynshop.customer.buy.cmd: true
- dynshop.customer.buy.sign: true
- dynshop.customer.buy.unlimited: false
- dynshop.customer.buy.cmd: true
- description: Allows you to buy items.
- dynshop.customer.sell:
- description: Allows you to sell items.
- children:
- dynshop.customer.sell.cmd: true
- dynshop.customer.sell.sign: true
- dynshop.customer.sell.unlimited: false
- dynshop.customer.sell.cmd: true
- description: Allows you to sell items.
cmd/sign: with sign permission you can trade with signs, with cmd by commands
are the buy and sell permissions put into pex just like they are written down here?
dynshop.buy.<trader>.<material>: true dynshop.sell.<trader>.<material>: true
because when i put those in i get massive errors in syntax for them.
when i do just dynshop.buy.* and the same with sell they don't give permissions like they should.....
or do i need to put dynshop.buy.sign.*
I tried the dynshop.buy.cmd.* as well no such luck.
Also, when using the :true i get major problems with the whole permissions system with syntax errors and everything.
do these need to be put under options or something?
I'm using PermissionEX and do allso have troubles with getting the permissions to works.
I have however found that
dynshop.buy.sign and dynshop.sell.sign make you able to trade by signs.
dynshop.globalsigncreate actually works.
dynshop.* give you admin over dynamic shop.
if anyone finds a perm for "info" please pm me :)
[SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'buy' in plugin DynamicShop v1.46 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NullPointerException at me.zylinder.dynamicshop.PlayerHandler.checkInventory(PlayerHandler.java:137) at me.zylinder.dynamicshop.TransactionHandler.buyGlobal(TransactionHandler.java:85) at me.zylinder.dynamicshop.DynamicShopPlayerListener.onCommand(DynamicShopPlayerListener.java:122) at me.zylinder.dynamicshop.DynamicShop.onCommand(DynamicShop.java:110) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 12 more
The Command Doesnt Do Anything when i do /dynshop buy