A simple plugin which lets you buy and sell items for a virtual currency ("coins") on Cuberite Minecraft servers.
Contains the sqlite.lua module from Cuberite's Core plugin. Prices list from http://www.naughtynathan.co.uk/minecraft/prices.htm.
This is my first Cuberite plugin and Lua project created as an experiment. There be dragons ;) Pull requests and suggestions for improvements welcome!
Copy the Currency
folder to <path-to-cuberite>/Server/Plugins/
and
enable the plugin in the settings.ini
file.
This plugin adds the following commands:
/account <playername> <set:get:add:sub> <value>
Administrate accounts (admin)/coins
Display coins (everyone)/buy <itemname:itemid> <amount>
Buy an item from the virtual market (everyone)/sell
Sell the currently selected item (everyone)
Limitations:
- Only looks for player names, thus doesn't respect player name changes
- Market purely virtual, no restrictions
- Not all items tradable.
This software is licensed under the Apache License, version 2.0. See LICENSE for more information.