Language

Mogrul Economy

Mogrul Economy

Modrinth

A simple server-side economy mod with trade, shops and mob rewards!

560 downloads 1 followers updated 10mo ago
latest v0.4.1-1.21.1 Modrinth
Forge Neoforge 1.20.1 – 1.21.8 Economy

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!

Versions

Beta
0.4.1-1.21.1
neoforge · 1.21.1 · 10mo ago
# Fixes: - Remove bounties OP command didn't have permission level set, allowing all to use it.
182
Beta
0.4-1.21.1
neoforge · 1.21.1 · 10mo ago
# Fixes: - Ranks now displays only 10, not the entire sever. # Additions: - Bounty system has been re-implemented from the 1.20.1 version adding: -…
20
Release
0.35-1.21.8
neoforge · 1.21.8 · 10mo ago
1.21.7-1.21.8
46
Release
0.35-1.21.7
neoforge · 1.21.7 · 10mo ago
1.21.6 -> 1.21.7
22
Release
0.35-1.21.6
neoforge · 1.21.6 · 10mo ago
1.21.5 -> 1.21.6
23
Release
0.35-1.21.5
neoforge · 1.21.5 · 10mo ago
1.21.4 -> 1.21.5
22
Release
0.35-1.21.4
neoforge · 1.21.4 · 10mo ago
Ported 1.21.3 -> 1.21.4
20
Release
0.35-1.21.3
neoforge · 1.21.3 · 10mo ago
Ported 1.21.2 -> 1.21.3
18
Release
0.35-1.21.2
neoforge · 1.21.2 · 10mo ago
Ported 1.21.1 over to 1.21.2
21
Release
0.35-1.21.1
neoforge · 1.21.1 · 10mo ago
# Villager's, stay where you are! The shops have now been fixed when the server restarts, so you don't have to worry about recreating each villager every…
30
Release
0.3-1.21.1
neoforge · 1.21.1 · 10mo ago
# Shops! You can now create a shop with a customised villager, where it takes currency from a player and gives them an item! # Ranking! You can now display…
27
Release
0.1-1.20.1
forge · 1.20.1 · 10mo ago
Initial release.
123

Comments 0

No comments yet. Be the first to share your thoughts.