using jython 2.7b2

This commit is contained in:
jomo
2014-07-13 17:10:14 +02:00
parent e9f1142cea
commit 1f5ee6b348
7 changed files with 7 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ Detailed description:
0. Download [the latest spigot](http://ci.md-5.net/job/Spigot/lastStableBuild/artifact/Spigot-Server/target/spigot.jar) 0. Download [the latest spigot](http://ci.md-5.net/job/Spigot/lastStableBuild/artifact/Spigot-Server/target/spigot.jar)
0. Run it once inside redstoner, then shut it down again 0. Run it once inside redstoner, then shut it down again
0. Create a new directory (inside redstoner) called 'lib' 0. Create a new directory (inside redstoner) called 'lib'
0. Download [jython](http://search.maven.org/remotecontent?filepath=org/python/jython-standalone/2.5.3/jython-standalone-2.5.3.jar) and save it as 'jython.jar' inside lib 0. Download [jython](http://search.maven.org/remotecontent?filepath=org/python/jython-standalone/2.7-b2/jython-standalone-2.7-b2.jar) and save it as 'jython.jar' inside lib
0. Download [mysql-connector](https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.30.zip), extract 'mysql-connector-java-X.X.XX-bin.jar 0. Download [mysql-connector](https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.30.zip), extract 'mysql-connector-java-X.X.XX-bin.jar
' and save it as 'mysql-connector.jar' inside lib ' and save it as 'mysql-connector.jar' inside lib
0. Download [PyPluginLoader](http://gserv.me/static/PyPluginLoader-0.3.5.jar) (we're using [this fork](https://github.com/gdude2002/Python-Plugin-Loader)) into the plugins directory 0. Download [PyPluginLoader](http://gserv.me/static/PyPluginLoader-0.3.5.jar) (we're using [this fork](https://github.com/gdude2002/Python-Plugin-Loader)) into the plugins directory

View File

@@ -1,7 +1,7 @@
#pylint: disable=F0401 #pylint: disable=F0401
from helpers import * from helpers import *
from java.util.UUID import fromString as juuid from java.util.UUID import fromString as juuid
import simplejson as json import json
chatgroups_filename = "plugins/redstoner-utils.py.dir/files/chatgroups.json" chatgroups_filename = "plugins/redstoner-utils.py.dir/files/chatgroups.json"
groups = {} groups = {}

View File

@@ -1,4 +1,4 @@
import simplejson as json import json
from helpers import * from helpers import *
cyclers_file = "plugins/redstoner-utils.py.dir/files/cycle.json" cyclers_file = "plugins/redstoner-utils.py.dir/files/cycle.json"

View File

@@ -1,6 +1,6 @@
#pylint: disable=F0401 #pylint: disable=F0401
from helpers import * from helpers import *
import simplejson as json import json
spam_filename = "plugins/redstoner-utils.py.dir/files/damnspam.json" spam_filename = "plugins/redstoner-utils.py.dir/files/damnspam.json"
inputs = [] inputs = []

View File

@@ -1,5 +1,5 @@
from helpers import * from helpers import *
import simplejson as json import json
import time import time
import thread import thread

View File

@@ -1,4 +1,4 @@
import simplejson as json import json
from time import time from time import time
from helpers import * from helpers import *
from random import randrange from random import randrange

View File

@@ -3,7 +3,7 @@ import org.bukkit.event.block.BlockPlaceEvent as BlockPlaceEvent
import org.bukkit.event.block.BlockBreakEvent as BlockBreakEvent import org.bukkit.event.block.BlockBreakEvent as BlockBreakEvent
import org.bukkit.event.player.PlayerInteractEvent as PlayerInteractEvent import org.bukkit.event.player.PlayerInteractEvent as PlayerInteractEvent
import thread import thread
import simplejson as json import json
from time import sleep from time import sleep
from helpers import * from helpers import *