GithubHelp home page GithubHelp logo

timsueberkrueb / cuberite-currency Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 1.0 16 KB

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

License: Apache License 2.0

Lua 93.18% Python 6.82%
cuberite plugin lua experimental minecraft

cuberite-currency's Introduction

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.

cuberite-currency's People

Contributors

timsueberkrueb avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

hyperak

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.