premium banner
"A spectator mode manager that uses a credit system to limit gameplay. It allows server owners to whitelist admins and disable spectating in specific dimensions."

Description

Spectator Time Management Master (NoMoreF3F4)

A mod used to manage the player's spectator mode time. This mod sets a timer for all players, which dynamically changes based on the player's use of spectator mode, preventing players from frequently switching game modes.

🎯 Features

Core Mechanism

Each player has their own credit points, which increase when not spectating and decrease when spectating. Switching between spectating and survival mode instantly drains a significant amount of credit points. No matter who you are, don't use spectating mode if you don't have credit points!

Management Features

Having op doesn't mean you can control the system. With the whitelist system, you can make your own decisions on your server. You can disable spectating in any dimension and set the rules as restrictive as you like!

🛠️ Configuration Instructions

The configuration file is located at: config/nomoref3f4-common.toml This is the only configuration file for the mod

# Server Configuration
[Server Configuration]
# List of players allowed to use this mod's commands (whitelist)
allowed_admins = ["Player", "Dev", "Admin", "Yanbwe", "TestUser"]

# List of dimensions where spectator mode is disabled
# Format: ["minecraft:the_nether", "minecraft:the_end"]
disabled_dimensions = ["twilightforest:twilight_forest"]

# Credit Point Configuration
[Credit Point Configuration]
# Credit Limit Value
credit_max = 12000

# Credit Lower Limit (Can be Negative)
credit_min = -2400

# Amount of credits deducted when switching to spectator mode
spectator_cost = 2400

# Amount of credits restored per tick in non-spectator mode
tick_recovery = 1

# Number of credits consumed per tick in Spectator mode (should be negative)
tick_consumption = -1

Administrator Commands

/nomoref3f4 check                    # Check your own credit points
/nomoref3f4 check <player_name> # Check the credit points of the specified player
/nomoref3f4 set <player_name> <value> # Set player credits (only available for whitelisted players)
/nomoref3f4 add <playername> <value> # Increase player credits (only available for whitelisted players)
/nomoref3f4 remove <player_name> <value>   # Reduce player credits (only available for whitelisted players)
/nomoref3f4 reload                   # Reload the configuration file (only available to whitelisted players)

*Prevent abuse by spectators, making the game more enjoyable and replayable! * 🎮✨😋