Skip to content

timsueberkrueb/cuberite-currency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

💰 Simple cuberite plugin which lets players trade items using commands

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published