ServerSense - Multi-Version Minecraft Server Scripting
ServerSense is a thin wrapper over the Minecraft server, it allows scripting Minecraft commands in Python. Even with little to no Python knowledge, you can take advantage of plugins written by the community and make use of the default API. Imagine WorldEdit that uses vanilla commands under the hood. Built to be version independent, ServerSense will work with any version of the Minecraft server; however, many of the built-in API features won't be available in earlier versions of Minecraft.
Take a look at the extensive feature list:
- API with pre-loaded commands gives you power on par with WorldEdit
- NBT file parser for accessing the content of player.dat files
- Multithreaded script files allow you to create and run bukkit-like plugins
- Incredibly lightweight, uses almost no CPU and less than 10 MB of RAM
- Packaged with a permissions system, you have complete control over who can use ServerSense commands
- Works with any version of the Minecraft server and doesn't require updates. Play the newest snapshot as soon as it comes out
- Records server events, allowing your plugins to monitor player actions and respond accordingly
- Packaged into an executable file for easy setup
- Much more to come!
Installation
ServerSense has been packaged into an executable file for easy setup
1. Download the latest build of ServerSense, it should be at the bottom of this topic.
2. Extract the zip to wherever you keep your minecraft server. You should notice a folder named 'ss' appear, open it.
3. Open and configure the path variables in ss_config.txt, the 1st path should be the location of your java.exe (often found in C:\Program Files\Java\jre6-7\bin), the 2nd path is where you keep your server, and the 3rd should be the file name of your Minecraft server jar file.
4. Run ServerSense.exe!
Examples
First, add yourself to the list of players who are allowed to use ServerSense, you can manually edit ss_ops.txt, or use the \ss op player_name command. Commands won't do anything if you aren't a ServerSense OP.
Try some of the following commands:
#makes a cube of stone
\ss api.makeCube('your_user_name', [5, 5, 5], 'stone')
#runs the wool_tower script, which creates a wool tower at 0, 0
\sss wool_tower
The Meaning of Life, the Universe, and Everything.
Location:
why u want this?
Join Date:
7/1/2011
Posts:
54
Location:
MX
Member Details
Hi nice tool i want to test it but when i open Serversense.exe say this:
ServerSense v0.2a Loaded
Traceback (most recent call last):
File "ServerSense.py", line 181, in <module>
ServerSense()
File "ServerSense.py", line 68, in __init__
for script in os.listdir(os.path.join('scripts', 'startup')):
WindowsError: [Error 3] The system can not find the path specified: 'scripts\\startup/*.*'
Hi nice tool i want to test it but when i open Serversense.exe say this:
ServerSense v0.2a Loaded
Traceback (most recent call last):
File "ServerSense.py", line 181, in <module>
ServerSense()
File "ServerSense.py", line 68, in __init__
for script in os.listdir(os.path.join('scripts', 'startup')):
WindowsError: [Error 3] The system can not find the path specified: 'scripts\\startup/*.*'
sorry for bad english S:
fixed creating the startup folder in scripts
nice work you can add more things or post more examples
ServerSense is a thin wrapper over the Minecraft server, it allows scripting Minecraft commands in Python. Even with little to no Python knowledge, you can take advantage of plugins written by the community and make use of the default API. Imagine WorldEdit that uses vanilla commands under the hood. Built to be version independent, ServerSense will work with any version of the Minecraft server; however, many of the built-in API features won't be available in earlier versions of Minecraft.
Take a look at the extensive feature list:
- API with pre-loaded commands gives you power on par with WorldEdit
- NBT file parser for accessing the content of player.dat files
- Multithreaded script files allow you to create and run bukkit-like plugins
- Incredibly lightweight, uses almost no CPU and less than 10 MB of RAM
- Packaged with a permissions system, you have complete control over who can use ServerSense commands
- Works with any version of the Minecraft server and doesn't require updates. Play the newest snapshot as soon as it comes out
- Records server events, allowing your plugins to monitor player actions and respond accordingly
- Packaged into an executable file for easy setup
- Much more to come!
Installation
ServerSense has been packaged into an executable file for easy setup
1. Download the latest build of ServerSense, it should be at the bottom of this topic.
2. Extract the zip to wherever you keep your minecraft server. You should notice a folder named 'ss' appear, open it.
3. Open and configure the path variables in ss_config.txt, the 1st path should be the location of your java.exe (often found in C:\Program Files\Java\jre6-7\bin), the 2nd path is where you keep your server, and the 3rd should be the file name of your Minecraft server jar file.
4. Run ServerSense.exe!
Examples
First, add yourself to the list of players who are allowed to use ServerSense, you can manually edit ss_ops.txt, or use the \ss op player_name command. Commands won't do anything if you aren't a ServerSense OP.
Try some of the following commands:
Documentation
Check out the github repository for up to date documentation.
So, what are you waiting for? Download the latest version here:
v0.2a
Don't forget to post comments and suggestions!
All Rights Reserved
+Rep!
It's annoying but possible to get it working on Linux, I'll do it if there's enough/any demand.
ServerSense v0.2a Loaded
Traceback (most recent call last):
File "ServerSense.py", line 181, in <module>
ServerSense()
File "ServerSense.py", line 68, in __init__
for script in os.listdir(os.path.join('scripts', 'startup')):
WindowsError: [Error 3] The system can not find the path specified: 'scripts\\startup/*.*'
sorry for bad english S:
fixed creating the startup folder in scripts
nice work you can add more things or post more examples
One problem. When I pressed the v2.0a link, it 404ed