MoneyShop
This plugin allows players to buy items, commands and more with Money. Vault is needed for this.
This Plugin is continued here:
Features:
- Buy items/itemsets
- Buy cmds/doubleCmds/cmdSets
- Buy perms/permSets/timePerms
- TimePermissions : After the configurable time, the permissions will be removed
- Configurable (you can add/remove infinite cmds/items/permissions)
- Permissions Support
- Add configurable prices
- Economy Support
- Sign support
Command explanation
Commands:
- /<ms/mshop> buy <cmd/Dcmd/item/itemSet/money/points/perm/permSet/timePerm> <name>
- /<ms/mshop> list <item/itemSet/cmd/Dcmd/perm/permSet/timePerm> <page>
- You can remove /ps if you want (here you can see, how to remove this)
Permissions:
- MoneyShop.buy.Item
- MoneyShop.buy.ItemSet
- MoneyShop.buy.Cmd
- MoneyShop.buy.DCmd
- MoneyShop.buy.CmdSet
- MoneyShop.buy.Perm
- MoneyShop.buy.TimePerm
- MoneyShop.buy.PermSet
- MoneyShop.list
- MoneyShop.sign.create
- MoneyShop.sign.use
ToDo:
- Add messages.yml
Buy command, and after x time, another command will be executed (like /op and /deop)
@Blackixx
I gave all permissions just to check out if there was any problems.
MoneyShop.buy.Item MoneyShop.buy.Cmd MoneyShop.buy.Perm MoneyShop.list MoneyShop.sign.create MoneyShop.sign.use
@LeChuuck
Hm I will look at this...
Which permissions did you give to the players?
Im not sure what the problems is but the plugin is not working proper, im using CB 1.2.5-R4 and PermissionsEx. I have given all the permission nodes to users but they can only buy the Perm "BuyItem" and Heal works. But the TimePerm and PermSet dont work says you dont have permission.
@kahlilnc
"Uhh compatible with bPermissions? "
The MoneyShop.<> Permissions work with every permissions plugin, but the PermSet, TimePerm and Perm only with PermissionsBukkit and Pex. I will add Vault-permissions-support for this perms soon.
"Oh when you do
/ms it brings up a help menu then use /ms list brings up /ms <cmd/etc> I think it should still say /ms list <cmd/etc> to reduce confusion. It causes some already on my test server."
You mean it should show "/ps <buy/list/reload" <cmd/item/etc...>? But that was wrong, because /ps reload <cmd/item/etc.> dont work.
Oh when you do
/ms it brings up a help menu then use /ms list brings up /ms <cmd/etc> I think it should still say /ms list <cmd/etc> to reduce confusion. It causes some already on my test server.
Uhh compatible with bPermissions?
U're awesome man :D
@Mayhem777
"Can you make the "you timeperm blablabla is out" configurable?" Yes.
"Also some commands are must-use from players, for example /superjump, makes your jumps very high, but can only be used by players" Ok I will add PCmds (PlayerCommands) (I will try to figure out how to skip the permissions)
"if i give the perms to the pleyer for 2 days, and expires, the player still jumping high, why? because they don't have permission to the command, but they have USED THE COMMAND before, so they have infinite super jumps, how can i solve this?" I will add timePCmds too. The player will execute a second command after a configurable amount of time.
Can you make the "you timeperm blablabla is out" configurable?
Also some commands are must-use from players, for example /superjump, makes your jumps very high, but can only be used by players, if i give the perms to the pleyer for 2 days, and expires, the player still jumping high, why? because they don't have permission to the command, but they have USED THE COMMAND before, so they have infinite super jumps, how can i solve this?
@Madopow2110
Like here: http://dev.bukkit.org/server-mods/pointshop/images/2-signs/ Just with MoneyShop instead PointShop
Will open source plugin?
question, how do we use this with signs?
" Fixed console bug
Added dcmd = doublecommand. The first command will be executed directly and the second command after a configurable time (example: /Op, after 1 day /deop) "
AWESOME MAN!
@Mayhem777
Update and fix is waiting for approvial
Algo when i use ms reload :
org.bukkit.command.CommandException: Unhandled exception executing command 'ms' in plugin MoneyShop v1.3
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:473)
at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
at org.black_ixx.moneyShop.MoneyShop.onCommand(MoneyShop.java:105)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 7 more
Yes they have permissions, i'll reinstall the plugin and delete/write again the permissions.
@Mayhem777
Hm... I tested it, and I could buy Cmds and Perms.... >Video< Maybe your players dont have Permissions to interact with the world. Do you need the correct Upper/Lower-case?
Well my players has :
MoneyShop.buy.Cmd
MoneyShop.buy.Perm
MoneyShop.sign.use
And CAN'T buy timeperm or cmd via signs.
@jinkos32
At moment this is not possible. 383:93 would be 93 spawn-eggs. In the future, it will look like this: 383-93:amount.
how do i config items with dual numbers ?
i have tried with
383:93
383~93
no one of them works