TritonDataCenter / minecrab

Minecraft on Joyent's Cloud & Manta on Demand
Other
27 stars 12 forks source link

Minecraft 1.7.7's whitelist (and other things) has changed to json #54

Open nfitch opened 10 years ago

nfitch commented 10 years ago
[root@c0794356-9c5a-ed7c-d1a1-d68f8e884b28 /opt/minecrab/server]# ls -l
total 9366
-rw-r--r-- 1 minecraft minecraft     161 Apr 11 01:59 banned-ips.json
-rw-r--r-- 1 minecraft minecraft     106 Apr  4 01:45 banned-ips.txt.converted
-rw-r--r-- 1 minecraft minecraft       2 Apr 11 01:59 banned-players.json
-rw-r--r-- 1 minecraft minecraft     106 Apr  4 01:45 banned-players.txt.converted
drwxr-xr-x 2 minecraft minecraft       3 Apr 11 01:59 logs
-rw-r--r-- 1 minecraft minecraft 9482631 Apr 11 01:59 minecraft_server.jar
-rw-r--r-- 1 minecraft minecraft       2 Apr 11 01:59 ops.json
-rw-r--r-- 1 minecraft minecraft       0 Apr  4 01:45 ops.txt.converted
-rw-r--r-- 1 minecraft minecraft     269 Apr 11 01:59 server.config
-rw-r--r-- 1 minecraft minecraft     677 Apr 11 01:59 server.properties
-rw-r--r-- 1 minecraft minecraft     643 Apr 11 02:36 usercache.json
-rw-r--r-- 1 minecraft minecraft      60 Apr 11 01:59 white-list.txt.converted
-rw-r--r-- 1 minecraft minecraft     512 Apr 11 01:59 whitelist.json
drwxr-xr-x 9 minecraft minecraft      12 Apr 11 02:53 world
nfitch commented 10 years ago

Hrm... just to json wouldn't have been that bad to fix... but these uuids + something about allowing name changes soon might mean trouble for minecrab...

[root@c0794356-9c5a-ed7c-d1a1-d68f8e884b28 /opt/minecrab/server]# cat whitelist.json
[
  {
    "uuid": "2340ea95-df3b-c09a-900f-***********",
    "name": "SomethingThatDoesntExist"
  },
...
]

Well, I have a server up and running. I may have to patch backup temporarily to grab the new files and back them up.

nfitch commented 10 years ago

That patch at least lets me shut down servers for now. Going to have to go figure out those uuids and make some real fixes soon...