Download Mogrul Economy — Minecraft Mods — MetaMods
Mogrul Economy

Mogrul Economy

Active

Downloads

0

Last update

2 weeks ago

Versions

1.20.1 — 1.21.8
Server
Forge
Neoforge
Economy
Utils

Description

A simple server-side configurable economy system with mob rewarding, trading and bounty components for those running public/private Forge servers without plugin capability. This project was made for that reason, a lack of standalone quality economy mods for (forge 0.1-1.20.1) (NeoForge 0.3-1.21.1), where components aren't present.

I have an SteamPunk / DieselPunk Lore SMP!

You can apply to join at: Discord

Commands

Currency component:

The main component of the mod, allowing a player to see their currency, see player's currency and send currency to another player - OP player being able to set currency and remove currency from a player.

Member commands (Level 0):

  • /currency - Shows the commanding player's currency.
  • /currency - Shows the targetting player's currency.
  • /currency send - Send currency to a player.

Sending Currency Example

OP commands (Level 4):

  • /currency remove - Removes a player's currency by an amount.
  • /currency set - Sets a player's currency by an amount.

Trade component:

A secondary component of the mod, allowing a player to initialise a trade with another player from an item held in their hand, accepting, denying and cancelling trades is handle in-chat so player's don't have to type out a small command just to cancel a trade.

Member commands (Level 0):

  • /trade - Initialise a trade with a player from a item held in hand.

Trade request sent example trade request example

Mob rewards component:

A secondary component of the mod, allowing player's to receive a reward for killing a mob - OP's can set a reward for a mob and when a player kills that mob type the player is rewarded by a set amount.

OP commands (Level 4):

  • /mobrewards set - Sets a reward for a mob.
  • /mobrewards remove - Removes a reward for a mob.

Bounty component:

A secondary component of the mod, allowing a player to set or add onto a bounty of a player, when the player is killed by another player, the killing player gets the reward of the bounty and the bounty is removed. OP's having the ability to remove a bounty from a player.

Member commands (Level 0):

  • /bounty add - Sets/adds a bounty to a player.

OP commands (Level 4):

  • /bounty remove - Removes a player's bounty.

Shop component:

A secondary component of the mod, allowing an admin to create shops - a player right clicks the villager and they buy an item!

  • /shops create - Creates a villager entity to sell items to players.
  • /shops remove - Removes a shop that you're looking at.

Steve - A mighty seller!

Configuration

The configuration file of this mod can be found in your server's configuration folder, named "mogruleconomy-common.toml" - here you can set the command names, currency name, symbols ect as well as disabling secondary components of the mod.

[Currency]
    #Command to use when using the currency component in-game.
    currencyCommandName = "currency"
    #Name to use for singular currency. Example: (Pound)
    currencyNameSingular = "Pound"
    #Name to use for plural currency. Example: (Pounds)
    currencyNamePlural = "Pounds"
    #Symbol to use for the currency.
    currencySymbol = "£"
    #Default starting currency for new players
    # Default: 100
    # Range: > 0
    startingCurrency = 100

[MobRewards]
    #Whether the mob rewards component should be anabled.
    mobRewardsEnabled = true
    #Command to use when using the mob reward component in-game.
    mobRewardsCommandName = "mobreward"

[Trade]
    #Whether the trade component should be enabled.
    tradeEnabled = true
    #Command to use when using the trade component in-game.
    tradeCommandName = "trade"

[Shops]
    #Whether the shop component should be enabled.
    shopsEnabled = true
    #Command to use when using the shops component in-game.
    shopsCommandName = "shops"

Data Handling

The data handling has been moved over to .json files, getting rid of dependencies and making it so much easier for you to edit them!