This repository was archived by the owner on Dec 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
surf-cloud-bukkit/src/main/kotlin/dev/slne/surf/cloud/bukkit Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package dev.slne.surf.cloud.bukkit.command
22
33import dev.slne.surf.cloud.bukkit.command.broadcast.broadcastCommand
44import dev.slne.surf.cloud.bukkit.command.connection.disconnectPlayerCommand
5- import dev.slne.surf.cloud.bukkit.command.connection.silentDisconnectPlayerCommand
5+ import dev.slne.surf.cloud.bukkit.command.connection.timeoutPlayerCommand
66import dev.slne.surf.cloud.bukkit.command.lastseen.lastSeenCommand
77import dev.slne.surf.cloud.bukkit.command.network.findCommand
88import dev.slne.surf.cloud.bukkit.command.network.glistCommand
@@ -19,7 +19,7 @@ object PaperCommandManager {
1919 lastSeenCommand()
2020 broadcastCommand()
2121 glistCommand()
22- silentDisconnectPlayerCommand ()
22+ timeoutPlayerCommand ()
2323 disconnectPlayerCommand()
2424 }
2525}
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import dev.slne.surf.cloud.api.common.player.CloudPlayer
88import dev.slne.surf.cloud.bukkit.permission.CloudPermissionRegistry
99import dev.slne.surf.surfapi.core.api.messages.adventure.sendText
1010
11- fun silentDisconnectPlayerCommand () = commandTree(" silentdisconnect " ) { // TODO: 13.04.2025 14:15 - better name
12- withPermission(CloudPermissionRegistry .SILENT_DISCONNECT_COMMAND )
11+ fun timeoutPlayerCommand () = commandTree(" timeout " ) {
12+ withPermission(CloudPermissionRegistry .TIMEOUT_COMMAND )
1313
1414 onlineCloudPlayerArgument(" player" ) {
1515 anyExecutor { sender, args ->
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ object CloudPermissionRegistry: PermissionRegistry() {
1515 val LAST_SEEN_COMMAND = create(" $COMMAND_PREFIX .lastseen" )
1616 val BROADCAST_COMMAND = create(" $COMMAND_PREFIX .broadcast" )
1717 val GLIST_COMMAND = create(" $COMMAND_PREFIX .glist" )
18- val SILENT_DISCONNECT_COMMAND = create(" $COMMAND_PREFIX .silentdisconnect " )
18+ val TIMEOUT_COMMAND = create(" $COMMAND_PREFIX .timeout " )
1919}
You can’t perform that action at this time.
0 commit comments