Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.x
1.20.x
1.19.x
1.18.x
Platforms
Tags
Creators
Details
Licensed ARR
Published 3 days ago
Updated 3 weeks ago
PyScripts - Write Minecraft server scripts in Python!
Drop a .py file in plugins/PyScripts/scripts/ and run /py reload. No Java, no compiling.
PyScripts supports the Python language (Python 2.7 syntax: variables, if, for, while, functions, lists and more). Some things are not included, like f-strings and installing outside libraries. Instead, it adds special Minecraft functions:
- print("text") - writes in the console
- messageChat("text") - writes in chat and console (& colors work)
- input("question") - asks in the console and waits for an answer
- chatInput("question") - asks in chat and waits for an answer from chat or console
- chatInputPlayer() - who answered the last chatInput
- giveAll("DIAMOND", 5) - gives an item to every online player
- givePlayer("DIAMOND", "Steve", 5) - gives an item to one player (@p and @r work, @a and @e don't)
- kill("Steve") - kills a player
- teleport("Steve", 100, 64, -20) - teleports a player to coordinates
- teleport("Steve", "Alex") - teleports a player to another player
- summon("ZOMBIE", "Steve") - spawns a mob next to a player (or at x, y, z)
- sudo("Steve", "spawn") - makes a player run a command
- sayChat("word", myFunction) - runs myFunction(player, message) when someone writes the word in chat
- sayServer("word", myFunction) - runs myFunction(line) when the word is typed in the console
- command_run("name", myFunction) - creates your own /name command and runs myFunction(sender, args)
Commands:
- /py reload - reloads all the script files
- /py language [code] - changes the plugin language (30 languages, English by default)
Permissions:
- pyscripts.admin - use /py commands (default: OP)
Requirements:
- Paper or Spigot 1.17+
- Java 17+
- Internet on the first start (the server downloads the Python engine, about 40 MB)
PyScripts© | Owned By CraftCoder & Oriyf2016


