..
This commit is contained in:
27
mods/nurPkgs/minecraft-server-whitelist-all-players.nix
Normal file
27
mods/nurPkgs/minecraft-server-whitelist-all-players.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, python3Packages
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "minecraft-server-whitelist-all-players";
|
||||
version = "1.0";
|
||||
pyproject = false;
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ requests ];
|
||||
|
||||
|
||||
dontUnpack = true;
|
||||
src = ./.;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A small python script to generate a whitelist.json from all players that ever joined the server.";
|
||||
longDescription = ''
|
||||
A small python script to generate a whitelist.json from the playerdata directory of a minecraft server. It adds all players that were ever on the server to this generated whitelist.json file.
|
||||
You need to specify the playerdata directory containing all the players .dat files as the first argument to the script.
|
||||
'';
|
||||
homepage = "https://github.com/c2vi/nixos/tree/master/mods/nurPkgs";
|
||||
license = licenses.gpl2Only;
|
||||
#maintainers = [ ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user