Wiki 9Minecraft Wiki 9Minecraft

How to Set Up and Secure Your Server for Python Scripting

RaspberryJuice connects your Paper or Bukkit server to external Python scripts, allowing you to manipulate the world through code. Before running scripts with other players, you need to generate the configuration files and secure the connection.

Generating the Settings File

1. Stop your Minecraft server completely if it is currently running.

2. Confirm the plugin file is placed inside your server's plugins folder.

3. Starting the server with the plugin installed automatically generates its settings files inside the plugins directory.

Configuring Access and Security

By default, RaspberryJuice keeps script connections restricted to local addresses. This prevents unwanted visitors from executing code on your world while you test scripts on your own machine.

If you plan to share your server with friends or students over a network, you must configure security settings:

1. Open the generated settings file located in your server's plugins folder using any text editor.

2. Locate the security options and add security tokens to protect the connection.

3. Save the file and restart your server so the new security rules take effect.

4. Distribute the required connection details only to trusted players so they can link their text editors to the server safely.

Join 9Minecraft News & Guides