Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] /position, /seen, /tempban #13

Open
JuergenSchT opened this issue Jan 21, 2021 · 0 comments
Open

[Feature request] /position, /seen, /tempban #13

JuergenSchT opened this issue Jan 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@JuergenSchT
Copy link

I would like to request the addition of three commands for server operators, inspired in commands found in the plugin EssentialsX, ordered here in order of importance/relevance for my server:
/position
This command would report the coordinates and dimension of any player currently connected to the server. If no player name is specified, it would default to the user.
Format: /position [playername]
Sample output:

[23:27:20] [Server thread/INFO]: CONSOLE issued server command: /position {PLAYER1}
[23:27:20] [Server thread/INFO]: Current World: world
[23:27:20] [Server thread/INFO]: X: 4,114 (+East <-> -West)
[23:27:20] [Server thread/INFO]: Y: 89 (+Up <-> -Down)
[23:27:20] [Server thread/INFO]: Z: 1,866 (+South <-> -North)
[23:27:20] [Server thread/INFO]: Yaw: 235.365 (Rotation)
[23:27:20] [Server thread/INFO]: Pitch: 28.2 (Head angle)

/seen
This command would report the time that has passed since a player logged out of the server, along with their current position.
Format: /seen <playername>
Sample output:

[02:05:32] [Server thread/INFO]: JuergenSchT issued server command: /seen {PLAYER2}
[02:05:32] [Server thread/INFO]: /seen
[21:05:31] [Render thread/INFO]: [CHAT] Player {PLAYER2} has been offline since 1 hour 22 minutes 13 seconds.
[21:05:31] [Render thread/INFO]: [CHAT]  - IP Address: xxx.xx.xx.xxx
[21:05:31] [Render thread/INFO]: [CHAT]  - Location: (world, -1,723, 63, 1,061)

/tempban
This command would ban a player currently connected to the server for a set amount of time, and after that, automatically unban them.
Format: /tempban <playername> <datediff> [reason]
Sample output:

[18:54:36] [Server thread/INFO]: CONSOLE issued server command: /tempban {PLAYER1} 8h "hora de DnD, bastardo"
[18:54:36] [Server thread/INFO]: Player Console temporarily banned {PLAYER1} for 8 hours: hora de DnD, bastardo.
[18:54:54] [Server thread/INFO]: CONSOLE issued server command: /tempban {PLAYER3} 4h "hora de DnD, bastardo"
[18:54:54] [Server thread/INFO]: Player Console temporarily banned {PLAYER3} for 4 hours: hora de DnD, bastardo.
[18:55:05] [Server thread/INFO]: CONSOLE issued server command: /tempban {PLAYER2} 4h "hora de DnD, bastardo"
[18:55:05] [Server thread/INFO]: Player Console temporarily banned {PLAYER2} for 4 hours: hora de DnD, bastardo.

The above commands' names (and any possible aliases) could be changed if the situation required it.
Thanks for listening.

@Martmists-GH Martmists-GH added the enhancement New feature or request label May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants