2.0latestEnhanced Dynamic Currency Exchange SystemJul 25, 2024 Differences between the new code and the old code: · Command structure: · New: Uses a single /monnaie command with subcommands (rate, exchange, admin). · Old: Uses a specific /monnaie exchange command. · Conversion rate: · New: Dynamic rate that fluctuates with time and exchanges. · Old: Fixed rate of 24. · Additional functions: · New: Adds formatNumber(), getTauxConversion(), updateTauxConversion(). · Old: Doesn't have these functions. · Exchange for other players: · New: Allows exchanging for oneself or for another player. · Old: Exchange only for oneself. · Administrative commands: · New: Includes admin commands to set the rate. · Old: No administrative commands. · Calculation of money obtained: · New: Uses a complex formula based on the dynamic rate. · Old: Simple multiplication by the fixed rate. · Initialization and management of global variables: · New: Initializes {taux_conversion} and {dernier_echange} on load. · Old: No initialization of global variables. · Automatic announcements: · New: Broadcasts the rate every 5 minutes. · Old: No automatic announcements. · Tab completion: · New: Includes a tab completion function for commands. · Old: No tab completion. · checkBalanceForOther function: · New: Adds a function to check the balance when exchanging for another player. · Old: Doesn't exist. · Error handling and debugging: · New: More debug messages and error handling. · Old: Less detailed in terms of debugging. The new code is more complete, flexible, and offers more features for managing a dual currency system on a Minecraft server.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta