promotional bannermobile promotional banner
premium banner
An economy plugin with automatic player-configured NPC shops, online time rewards, command NPC shops, and all messages configurable!

Description

Enkonomy (by Enktale)

This is the economy plugin we have made for our server, below you will find the features, some guides on NPC shops, commands, permissons, and configurables. Feel free to use this plugin and let me know what you think of it! If you have any suggestions feel free to let me know, but as this plugin is mainly for our server, the suggestion would have to be fitting otherwise I would probably not implement it.

 

Features

  • Player Economy with persistent balances and a configurable currency symbol
  • Check your balance with /bal, /balance, /money (or for the Dutchies, /poen)
  • Check the richest players using /bal top (Option to blacklist players from the top-10 in the config)
  • Online reward system (optional, time-based payouts)
  • NPC Command / Item shops (more on this below)
  • Market Director System: Let players rent shops for an x amount of money, for an y amount of time (configurable)

 

Update: You can now use /enkonomy admin gui to spawn NPCs.

 

Guide: Market Director

As a server administrator you can set up a Market Director, this is an NPC which controls the public market, players can rent NPCs here (if there's a market spot available) and put items up for sale in their personal NPC through the market director.

Step 1: Create the Market Director NPC
     Use /enkonomy admin GUI to spawn an NPC. In the GUI, press this NPC and press "Enable Market Director"

Step 2: Allocate Shop Spots in your Market

     After you have build a market, you can select spots where NPCs can spawn. Note that if the spots are
     full, players will not be able to hire any new NPCs (Players can also only hire 1 NPC).
   
     You can add shop spots by /enkonomy shopspot add
     (
You can edit these with /enkonomy shopspot list and /enkonomy shopspot remove <id>

Step 3: Configure the price and duration
     
NPC shops are hired for a certain price, for a certain period of time. This can be configured in the config.

Note: When a shop expires, the current stock is saved. The player can either activate a new NPC shop and their shop will still be configured, or the player can "Get Stock Back" to get any leftovers back which were not sold.

 

Guide: Command Shop

The admin can also setup a command shop to sell command ran by the console.

Step 1: Spawn NPC
     Spawn the NPC using /enkonomy admin gui

Step 2: Configure the Command for sale
     Select the NPC from the admin GUI, now you can either add items or commands to the shop.

 

Commands & Permissions

  •  /balance (/bal, /money, /poen) to view your balance (enkonomy.balance)
  • /balance pay <player> <amount> to transfer an amount of money (enkonomy.balance-pay)
  • /balance add <player> <amount> to add money to someone's balance (enkonomy.add-balance)
  • /balance remove <player> <amount> to take money from someone (enkonomy.remove-balance)
  • /balance set <player> <amount> to set the balance to a certain amount (enknomy.balance-set)
  • /balance top to pop up the Top10 UI (enkonomy.top)

  • /enkonomy reload to reload the configurations (enkonomy.reload)

  • /enkonomy admin gui to open the admin GUi
  • /enkonomy npc spawn <type> <name> to spawn a NPC (type: merchant, miner, notary) (enkonomy.npc-spawn)
  • /enkonomy npc list to get a list of NPCs (enkonomy.npc-list)
  • /enkonomy npc remove <id> to remove a NPC (enkonomy.npc-remove)
  • /enkonomy npc changename <id> <name> to change the name of a NPC (enkonomy.npc-change-name)
  • /enkonomy npc setowner <id> <player> to transfer ownership of an NPC to a player (enkonomy.set-owner
  • /enkonomy npc config <id> to open the config UI of a NPC (enkonomy.npc-config)
  • /enkonomy shopspot add to add a location for the Market Director to spawn a NPC (enkonomy.shopspot-add)
  • /enkonomy shopspot list to get a list of shopspots (enkonomy.shopspot-list)
  • /enkonomy shopspot remove <id> to remove a shop spot (enkonomy.shopspot-remove)
  • /enkonomy setshopcount <player> <name> Set the max items allowed in a shop for a player (enkonomy.set-shop-count)
  • /enkonomy addshopcount <player> Increase max items allowed in a shop for a player (enkonomy.add-shop-count

Screenshots (I translated to Dutch...)

Buying an Item


Buying a Command


(Admin) Configuring a Shop --> Selling a Command


(Admin) Interacting with the Market Director (others will only see their own NPC)


Configuring a Market through the Market Director (Note: Players will not see the command section, only the item section)

 


Planned Featurues

- Make it configurable for shop NPCs to either spawn on a random free shopspot, or to the lowest free shopspot (either random distrubition of occupied shops, or starting from a certain point and populating the market)