/pyplanet_whitelist

PyPlanet app that offers a Whitelist, which only lets certain people join

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

pyplanet_whitelist

PyPlanet app that offers a Whitelist, which only lets certain people join

screenshot1 screenshot2

Working on Trackmania2020 and Trackmania²

Behavior:

  • When a player join the server, if the whitelist is activated and the player is not in the whitelist, he will be kicked from the server
  • When an admin activate the whitelist, all players not in the whitelist will be kicked
  • If the whitelist is already activated, if you remove a player from the whitelist he will be kicked, if you clear everyone will be kicked.
    ! Players with admin roles are considered whitelisted even if they are not in the whitelist !

Commands(if you prefer to use commands) :

//whitelist Show the whitelist window.
//wl help Show available whitelist commands in the chat.
//wl add Parameter: player login or nickname.
Add a player(connected to the server) to the local whitelist with his login or nickname.
//wl addlogin Parameter: player login.
Add a player login to the local whitelist.
//wl remove Parameter: player login.
Remove a player login from the local whitelist.
//wl current Create a new the local whitelist with all current connected players.
//wl clear Clear the local whitelist.
//wl show Show the player logins from the local whitelist in the chat.
//wl on Activate the local whitelist.
//wl off Deactivate the local whitelist.
//wl status Show the status of the whitelist(on or off) in the chat.

Other:

The whitelist is saved only in memory at the moment so it will be removed at the restart of pyplanet.
Save in database coming soon

The WhiteList and its status are now persisted in the database

Known bug(s):

  • The input of a manialink accept a maximum of 1024 characters(Nadeo limitation I guess) and there's no attribute to limit the number of characters. The manialink crash when we exceed the limit