timsueberkrueb / cuberite-currency

:moneybag: Simple cuberite plugin which lets players trade items using commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Currency Plugin for Cuberite

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!

Installation

Copy the Currency folder to <path-to-cuberite>/Server/Plugins/ and enable the plugin in the settings.ini file.

Usage

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.

License

This software is licensed under the Apache License, version 2.0. See LICENSE for more information.

About

:moneybag: Simple cuberite plugin which lets players trade items using commands

License:Apache License 2.0


Languages

Language:Lua 93.2%Language:Python 6.8%