Welcome to the SlotCrafter plugin documentation! This guide provides detailed information on the commands, permissions, and configuration options available in SlotCrafter.
- API Version Required:
1.20
- Dependencies: Requires the
spark
plugin.
SlotCrafter introduces several commands to manage slot limits, update configurations, and manage automatic player kicking based on server performance.
- Description: Sets the slot limit for the server. You can specify a number or set it to 'auto' for automatic adjustments.
- Permission:
slotcrafter.setslotlimit
- Tab-Completion: Yes
- Description: Updates a specific SlotCrafter configuration setting to a new value.
- Permission:
slotcrafter.admin
- Tab-Completion: Yes
- Description: Gives you some info from the Plugin.
- Permission:
slotcrafter.admin
- Tab-Completion: Yes
- Description: Toggles the automatic kick feature for the user if the server's Mean Tick Time (MSPT) gets too high. with /yeetme you can set a custome value
- Permission:
slotcrafter.yeetme
- Description: Kicks all players who have enabled the automatic kick feature.
- Permission:
slotcrafter.yeetthem
- Description: Allows outhers to take your slots if the Server is full after the time specified (default in config)
- Permission:
slotcrafter.takemyslot
The config.yml
file contains settings that control the behavior of the SlotCrafter plugin. Below are the available configuration options along with their descriptions:
MSPT = milliseconds per tick
-
minSlots
: The minimum number of slots the plugin will set. The plugin will not decrease the server slots below this number. (Default:10
) -
maxSlots
: The maximum number of slots the plugin will set. The plugin will not increase the server slots above this number. (Default:100
) -
lowerMSPTThreshold
: MSPT threshold below which the plugin will increase the server slots up tomaxSlots
. Above this Threshold the Playercap will stay the same till it hitsupperMSPTThreshold
(Default:50.0
) -
upperMSPTThreshold
: The MSPT threshold above which the plugin will start to reduce the playercap to the players online preventing joining down tominSlots
(this does not invole kicking just preventing new joins)(Default:60.0
) -
updateInterval
: The time interval in seconds between each automatic update/check by the plugin. (Default:60
) -
averageMSPTInterval
: The time frame in seconds over which the rolling average MSPT is calculated. Set to0
to use Spark's 1-minute average only. Note that the number of measurements may vary. (Default:600
) -
autoMode
: Determines whether the plugin starts in automatic mode, adjusting slots based on MSPT. (Default:true
) -
kickmspt
: The MSPT value at which players who have opted in will be kicked. Set to0
or a negative number to disable this feature. (Default:70
) -
rejoinDelay
: The time people can still rejoin, ignoring player cap after disconnecting/losing connection. (Default:120
) -
defaultTakeMySlotTime
: Delay bevor people can take your slot in hours. (Default:1
) ###Configuration that can't be changed ingame -
kickCommands
: Commands to execute when a player is kicked. -
ReminderInterval
: Interval in seconds for reminders when/yeetme
or/takemyslot
commands are active. Set to0
to disable reminders. (Default:0
) -
HighMSPTWarningInterval
: Interval in seconds to warn players when the Mean Server Tick Time (MSPT) is high. Set to0
to disable warnings. (Default:0
) -
YeetmeMessage
: Message displayed for the/yeetme
command reminder. (Default:"Lag-Autokick active. /yeetme to toggle off"
) -
TakemyslotMessage
: Message displayed for the/takemyslot
command reminder. (Default:"Slot-Surrender active. /takemyslot to toggle off"
) -
HighMSPTWarningMessage
: Message to display when the MSPT is high, advising players to avoid laggy areas if possible. (Default:"High MSPT. Avoid laggy areas if possible"
) -
HighMSPTThreshold
: MSPT threshold to trigger the high MSPT warning. This setting overlaps withkickmspt
for warning purposes. (Default:70
)
- Description: Allows people to ignore the slot cap.