summaryrefslogtreecommitdiff
path: root/forcefield.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-07-27 19:42:33 +0200
committerjomo <github@jomo.tv>2014-07-27 19:42:33 +0200
commitb1a3a92e49b353dfa42b52b448cdbc3b27bb33f8 (patch)
tree1b135af4f422d2ebcb96e814c08923d52b2f85c3 /forcefield.py
parente9b0ad656b71841fa23f332ddf8eff43e5cf1986 (diff)
apply file read/save helpers
Diffstat (limited to 'forcefield.py')
-rw-r--r--forcefield.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/forcefield.py b/forcefield.py
index d5fa1fe..bafe4a9 100644
--- a/forcefield.py
+++ b/forcefield.py
@@ -3,14 +3,13 @@ from helpers import *
from org.bukkit.util import Vector
from math import sin
-ff_perm = "utils.forcefield"
-pass_perm = "utils.forcefield.ignore"
-ff_prefix = "&8[&bFF&8] "
-ff_users = []
-fd = 6 # forcefield distance
-Xv = 2.95 / fd # used in move_away(), this is more efficient.
-whitelists_filename = "plugins/redstoner-utils.py.dir/files/forcefield.json"
-whitelists = {} # {ff_owner_id: [white, listed, ids]} (Adding file usage later, should be simple but just not yet.)
+ff_perm = "utils.forcefield"
+pass_perm = "utils.forcefield.ignore"
+ff_prefix = "&8[&bFF&8] "
+ff_users = []
+fd = 6 # forcefield distance
+Xv = 2.95 / fd # used in move_away(), this is more efficient.
+whitelists = {} # {ff_owner_id: [white, listed, ids]} (Adding file usage later, should be simple but just not yet.)
# /ff admin is a future option I might implement