A cross-server spigot plugin that simulate market economy

Overview

GlobalMarket

A cross-server spigot plugin that simulate market economy.

一个跨服务器的spigot插件,以模拟市场经济的价格浮动的方式,用于解决工业类服务器某些物品产能过高导致服务器经济完全失衡的问题。

本插件已经实现基本GUI和管理员命令

使用方法

使用用户命令/globalmarket命令简写为/gm

  • /globalmarket gui 打开图形化市场
  • /globalmarket money 查看账户余额
  • /globalmarket list 查看可交易物品列表
  • /globalmarket sell <物品名称(格式例如diamond)> <数量> 出售一定数量物品,数量输入all可以出售所有此种物品
  • /globalmarket buy <物品名称(格式例如diamond)> <数量> 购买一定数量物品
  • /globalmarket calc [buy/sell] <物品名称(格式minecraft:xxx)> <数量> 计算出售或购买一定数量物品的价格
  • /globalmarket help 查看命令提示 /gm 命令可简写为gm

使用管理员命令/globalmarketadmin 进行管理,命令简写为/gma

  • /globalmarketadmin set <物品库存量> <物品最高价格> <市场稳定指数> [物品名称] 此命令用于向市场中添加新的可交易物品,其中物品名称若不指定则将玩家手中的物品加入市场中
  • /globalmarketadmin remove <物品名称> 从市场中移除某个可交易物品

注意事项

  • 以上命令中的物品名称格式统一为大写物品名称,如钻石是DIAMOND,铁锭是IRON_INGOT
  • 插件实现了对mod物品的支持,mod物品的名称格式为MODID_XXX,例如机械动力MOD中的物品安山合金的名称为CREATE_ANDESITE_ALLOY
  • 插件在spigot,paperspigot服务器上运行良好,在杂交端服务器arclight,mohist上通过测试

数据库

本插件使用MySQL储存数据,目的是未来增加网页端交易功能,因此您必须为其配置一个MySQL数据库,如果您在这方面是新手不妨使用搜索引擎。
在配置好数据库后找到插件的配置文件config.yml,将您的数据库设置正确写入其中即可正常使用。

插件权限列表

  • globalmarket.admin 管理员权限,默认给予OP
  • globalmarket.use 普通用户权限,默认给予所有玩家

未来功能

  • 网页版客户端,使玩家可以不必上线就能交易
  • 通过随机事件影响市场,增加更多不确定性
  • 增加银行功能,玩家可以集资创建银行,来借款,分配收入等
  • 增加自动贸易箱子功能,使玩家可以不必手动交易,进入设定的贸易箱子的物品自动进行交易,这可以使工业服大量物品的交易更简单
You might also like...

HTTP Server Model made in java

SimplyJServer HTTP Server Model made in java Features Fast : SimplyJServer is 40%-60% faster than Apache, due to it's simplicity. Simple to implement

Sep 25, 2021

Check the connectivity of a server with this API.

Check the connectivity of a server with this API.

ServerStatusAPI Presentation : This is a java API with which can test the conectivity of server (all server but you can also use for minecraft). The f

Mar 16, 2022

WebSocket server with creatable/joinable channels.

bytesocks 🧦 bytesocks is a WebSocket server which allows clients to create "channels" and send messages in them. It's effectively an add-on for byteb

Nov 29, 2022

A small java project consisting of Client and Server, that communicate via TCP/UDP protocols.

A small java project consisting of Client and Server, that communicate via TCP/UDP protocols.

Ninja Battle A small java project consisting of Client and Server, that communicate via TCP/UDP protocols. Client The client is equipped with a menu i

Jan 14, 2022

Microhttp - a fast, scalable, event-driven, self-contained Java web server

Microhttp is a fast, scalable, event-driven, self-contained Java web server that is small enough for a programmer to understand and reason about.

Dec 23, 2022

Distributed WebSocket Server

Keeper 分布式 WebSocket 服务器。 注意事项 IO 线程和业务线程分离:对于小业务,依旧放到 worker 线程中处理,对于需要和中间件交互的丢到业务线程池处理,避免 worker 阻塞。 WebSocket 握手阶段支持参数列表。 插件 本服务功能插件化。

Dec 15, 2022

FileServer - A multithreaded client-server program that uses Java Sockets to establish TCP/IP connection

A multithreaded client-server program that uses Java Sockets to establish TCP/IP connection. The server allows multiple clients to upload, retrieve and delete files on/from the server.

Nov 13, 2022

VelocityControl is a BungeeControl-fork plugin enabling ChatControl Red to connect with your Velocity network.

VelocityControl is a BungeeControl-fork plugin enabling ChatControl Red to connect with your Velocity network.

Oct 24, 2022

This is a mod than add economy

Source installation information for modders ------------------------------------------- This code follows the Minecraft Forge installation methodology

Oct 12, 2021

A market plugin to prevent mounting inflation in minecraft servers

A market plugin to prevent mounting inflation in minecraft servers

A market plugin to prevent mounting inflation in minecraft servers. The optimized power index function and the inverse function are used to converge the selling price. It could solve the problem of server economic imbalance caused by the high production capacity of certain items in industrial type servers. In Summary, The richer the player is, the less profit the player receive.

Dec 25, 2022

ColocationSim: Simulate Colocation Datacenter in a Fine Granularity with Microservices and Interference Modeling

ColocationSim: Simulate Colocation Datacenter in a Fine Granularity with Microservices and Interference Modeling

ColocationSim Introduction 将在线作业和离线作业混合部署在同一集群(简称混部,Colocation)提升数据中心资源利用率的主流方法,如何在保证在线作业性能的前提下最大化集群的资源利用率成为混部相关研究中最主要问题。混部作业调度算法从集群层面解决这一问题,是学术界、企业界的

Jan 4, 2023

JNetcat : a tool to debug network issues or simulate servers

JNetcat A tool to easily debug or monitor traffic on TCP/UDP and simulate a server or client No need of telnet anymore to test for a remote connection

Jul 26, 2022

Create historical stock market simulation.

Create historical stock market simulation.

Market Simulation Create historical stock market simulation. THIS PROJECT IS MADE FOR SCHOOL! Overview Material designed for Java. Tested with openjdk

Jan 29, 2022

A short assembly macro-processor script to simulate the process and show the different stages

A short assembly macro-processor script to simulate the process and show the different stages

Mar 9, 2022

NFT sales tracking on the secondary market, on the Songbird network and notification via a Discord bot

SgbNftMarketDiscordBot Fork this project for any other chain using Ethereum Virtual Machine (EVM) like ETH, FLR, BSC etc If you like the project or fi

Jan 9, 2023

A web interface for viewing market data from Project Serum, on the Solana blockchain.

A web interface for viewing market data from Project Serum, on the Solana blockchain.

serum-data A web interface for viewing market data from Project Serum, on the Solana blockchain. Building Requirements (if not using Docker) Java 17 M

Jan 1, 2023

Java port of Brainxyz's Artificial Life, a simple program to simulate primitive Artificial Life using simple rules of attraction or repulsion among atom-like particles, producing complex self-organzing life-like patterns.

Java port of Brainxyz's Artificial Life, a simple program to simulate primitive Artificial Life using simple rules of attraction or repulsion among atom-like particles, producing complex self-organzing life-like patterns.

ParticleSimulation simple Java port of Brainxyz's Artificial Life A simple program to simulate primitive Artificial Life using simple rules of attract

Oct 5, 2022

This is a plugin for Minecraft Server (Spigot API) introduces a sector system which connects a single world across multiple servers.

OpenSourceSectors 😎 🗒️ This is a plugin for Minecraft Server (Spigot API) introduces a sector system which connects a single world across multiple s

Dec 28, 2022

🏃 A lightweight, multiarena, complex Parkour Spigot/Bukkit plugin for Minecraft Server

 🏃 A lightweight, multiarena, complex Parkour Spigot/Bukkit plugin for Minecraft Server

🏃 A lightweight, multiarena, multilanguage, completely configurable and complex Parkour Spigot/Bukkit plugin for Minecraft Server

Oct 17, 2022
Owner
个人博客http://enderspro.xyz
null
Realtime Client Server Framework for the JVM, supporting WebSockets with Cross-Browser Fallbacks

Welcome to Atmosphere: The Event Driven Framework supporting WebSocket and HTTP The Atmosphere Framework contains client and server side components fo

Atmosphere Framework 3.6k Jan 3, 2023
A network core plugin for the Spigot which best Experience for Minecraft Servers.

tCore The core plugin for Spigot. (Supports 1.8.8<=) 大規模サーバー、ネットワーク等の中核となるプラグインです。プロトコルバージョン 1.8 未満での動作は確認していません。かなりの量のソースになりますが、様々な機能が実装されています。中身自体は過

null 6 Oct 13, 2022
A simple Discord bot, which shows the server status of the Lost Ark server Beatrice

Beatrice A simple Discord bot, which shows the server status of the Lost Ark server Beatrice. Example Usage Clone the repository. Edit the property fi

Leon 3 Mar 9, 2022
A Velocity proxy plugin for Minecraft server discovery in k8s

A Velocity proxy plugin for Minecraft server discovery in k8s. All discovered servers are automatically added to the Velocity proxy.

Kryonite 9 Sep 13, 2022
TCP/UDP client/server library for Java, based on Kryo

KryoNet can be downloaded on the releases page. Please use the KryoNet discussion group for support. Overview KryoNet is a Java library that provides

Esoteric Software 1.7k Jan 2, 2023
Socket.IO server implemented on Java. Realtime java framework

Netty-socketio Overview This project is an open-source Java implementation of Socket.IO server. Based on Netty server framework. Checkout Demo project

Nikita Koksharov 6k Dec 30, 2022
BAIN Social is a Fully Decentralized Server/client system that utilizes Concepts pioneered by I2P, ToR, and PGP to create a system which bypasses singular hosts for data while keeping that data secure.

SYNOPSIS ---------------------------------------------------------------------------------------------------- Welcome to B.A.I.N - Barren's A.I. Natio

Barren A.I. Wolfsbane 14 Jan 11, 2022
Book Finder application is a client-server application (gRPC) for educational purposes.

Book-Finder Book Finder application is a client-server application (gRPC) for educational purposes. Instalation These projects (Client/Server) are Mav

Mihai-Lucian Rîtan 21 Oct 27, 2022
A barebones WebSocket client and server implementation written in 100% Java.

Java WebSockets This repository contains a barebones WebSocket server and client implementation written in 100% Java. The underlying classes are imple

Nathan Rajlich 9.5k Dec 30, 2022
A Java event based WebSocket and HTTP server

Webbit - A Java event based WebSocket and HTTP server Getting it Prebuilt JARs are available from the central Maven repository or the Sonatype Maven r

null 808 Dec 23, 2022