MyTown mod

1,352 views
Skip to first unread message

Craig Merrick

unread,
Sep 18, 2013, 9:05:45 PM9/18/13
to minecraft...@googlegroups.com
Ok, sorry this has been a while coming things have been quite busy lately!

I have compiled two different versions of the MyTown mod that I use on my server and I will explain what settings I have changed and how the different versions can be used.

1 - MyTownVanilla
This is the standard MyTown mod which runs quite well on MinecraftEdu. This includes the ability for students to:
- Create a town - Protects a 16x16 block chunk and sets the player as the Mayor of that town [/town new nameOfTown]
- Invite players to join their town [/town invite PlayerName]
- Accept or Deny a town invitation [/town accept/deny]
- Claim extra chunks based on the number of people in the town [/town claim]
- Assign a claimed chunk to a player in the town [/town assignplot PlayerName]
- Set permission levels and other options over towns as well as individual plots [/town perm town/plot]

Other features include:
- Joining towns together as a nation
- Create communal build plots in towns for all town members
- Set town span points allowing town members to teleport to their town [/town setspawn, /town spawn]
- /sethome, /home students can set their own home point and teleport to there. (This seems to be a bit bugged, seems to reset students' home points when they die)

Instructions:
- Unzip the MyTownVanilla zip file
- Place the jar files (MyTown_1.5.1.0.jar, MyTownLib.jar, PermissionsEx_1.5.1.0.jar) into the MinecraftEdu/servertool/server/mods folder.
- Place the other files (MyTown folder, permissions.yml, PermissionEx.cfg) into the MinecraftEdu/servertool/server/config folder.
- Open the allowedstudentcommands.txt file found in MinecraftEdu/servertool/settings and add the following lines:
 /help
 /town
 /sethome
 /home

Options I have changed (can be changed in MinecraftEdu/servertool/server/config/MyTown/MyTown.cfg folder):
- Removed cost for all MyTown commands - default is 1 diamond to create towns etc
- Reduced minimum chunks between towns to 1 - means you cant create a town adjacent to an existing town
- Disabled OldTown remover - this removes towns that have been inactive for a specified amount of time

2 - MyTownModifyWorld
This is that same mod as above, however it includes an extra element and therfore requires a separate permissions file.
- Build/Interact/Use Commands based on permission level

This essentially works like a whitelist. You can have people join your server and they will be Wanderers (label shows red in chat). They can move around the world but cannot interact with anything, build or destroy blocks or use commands. You can promote users the first time they join the server using a single command [/pex promote PlayerName] which will make them Adventurers (name shows green in chat) This allows full access, build rights and access to commands. The interesting point with this mod is that players you dont want to join cant do anything, or players who log out and try to join again with a different name. This also allwos you to demote a player [/pex demote PlayerName] back to Wanderer status which can be used as an intermediate step before kicking/banning from the server. Kind of like a time out.

Instructions:
- Unzip the MyTownVanilla zip file
- Place the jar files (MyTown_1.5.1.0.jar, MyTownLib.jar, PermissionsEx_1.5.1.0.jar, ModifyWorld2_1.5.1.0.jar) into the MinecraftEdu/servertool/server/mods folder.
- Place the other files (MyTown folder, permissions.yml, PermissionEx.cfg) into the MinecraftEdu/servertool/server/config folder.
- Open the allowedstudentcommands.txt file found in MinecraftEdu/servertool/settings and add the following lines:
 /help
 /town
 /sethome
 /home

Let me know if you need more information here, the beauty of this mod is that it's server side only meaning you don't have to update every client machine in order to try it out.

MyTownVanilla Download Link:

MyTownModifyWorld Download Link:

Craig

Rick M

unread,
Sep 22, 2013, 12:00:58 PM9/22/13
to minecraft...@googlegroups.com
Craig, thanks so much for putting this together! I'm looking forward to trying it out when things, you know, aren't quite so busy, lol.

mjma...@gmail.com

unread,
Sep 29, 2013, 2:45:51 PM9/29/13
to minecraft...@googlegroups.com
Craig, I soooo want to use the Mytown mod with my students in my World History class. I have tried installing both on seperate installs and I get this error both times. I have tried installing several times. Could you please advise me on what to do. I love the idea of this mod just need it to work.

Thanks much,

Michael

Here is the error I get in the crash report:

---- Minecraft Crash Report ----
// Why did you do that?

Time: 9/29/13 1:43 PM
Description: Exception in server tick loop

java.lang.RuntimeException: no SQLite library found
at ee.lutsu.alpha.mc.mytown.MyTown.modsLoaded(MyTown.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:509)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:96)
at cpw.mods.fml.common.Loader.serverStarted(Loader.java:740)
at cpw.mods.fml.common.FMLCommonHandler.handleServerStarted(FMLCommonHandler.java:315)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:502)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.sql.SQLException: no SQLite library found
at org.sqlite.Conn.open(Conn.java:136)
at org.sqlite.Conn.<init>(Conn.java:57)
at org.sqlite.JDBC.createConnection(JDBC.java:77)
at org.sqlite.JDBC.connect(JDBC.java:64)
at ee.lutsu.alpha.mc.mytown.sql.Database.connect(Database.java:190)
at ee.lutsu.alpha.mc.mytown.MyTownDatasource.init(MyTownDatasource.java:32)
at ee.lutsu.alpha.mc.mytown.MyTown.modsLoaded(MyTown.java:109)
... 28 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.5.1
Operating System: Mac OS X (x86_64) version 10.8.4
Java Version: 1.7.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 825285304 bytes (787 MB) / 1038090240 bytes (990 MB) up to 1038090240 bytes (990 MB)
JVM Flags: 2 total; -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.44 FML v5.1.28.659 Minecraft Forge 7.7.1.659 13 mods loaded, 13 mods active
mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{5.1.28.659} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{7.7.1.659} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FEPreLoader{@VERSION@} [Forge Essentials|PreLoader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeEssentials{@VERSION@} [Forge Essentials] (ForgeEssentials-core-1.5.2-SNAPSHOT.219.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
mod_AnimalBikes{1.0} [mod_AnimalBikes] (AnimalBikes.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ComputerCraft{1.52} [ComputerCraft] (ComputerCraft1.52) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CCTurtle{1.52} [ComputerCraft Turtles] (ComputerCraft1.52) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CustomNpcs{0.8} [CustomNpcs] (CustomNPCs.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Modifyworld2{1.5.0.0} [ModifyWorld2] (ModifyWorld2_1.5.1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MyTown{1.5.0.0} [MyTown] (MyTown_1.5.1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Errored
PermissionsEx{1.5.0.0} [PermissionsEx] (PermissionsEx_1.5.1.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Backpack{1.7.8} [Backpack] (backpack.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 100; []
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

EduElfie

unread,
Sep 30, 2013, 2:22:52 AM9/30/13
to minecraft...@googlegroups.com
OK, knowing absolutely nothing about how the MyTown works out anything, it does appear that you are missing an sql database of some description, is there a step you perhaps missed with the permissions side of the mod??

Elfie.

Craig Merrick

unread,
Oct 7, 2013, 4:58:20 AM10/7/13
to minecraft...@googlegroups.com
Hey Michael,

Sorry for the late reply, I've been on holidays (read:moving house - which isn't much of a holiday). It's possible that the mod is detecting the modified cfg file or something and assuming that the mod is already installed so it's not creating the other necessary files/folders.

Try only putting the .jar files in the mods folder and running it then.

I should have pointed our that I'm using build 11 of the current version (1.5.2?) if you are running a version older than that try updating to that one.

Im back at school tomorrow, I'll check the file structure but somewhere in mods/MyTown there should be a .db file (I think) which is the SQLite database.

Let me know how you go, it is a great mod to get working.

Craig

Greg Scott

unread,
Oct 15, 2013, 1:19:35 PM10/15/13
to minecraft...@googlegroups.com
Howdy, 

Working on getting this up and running for my classes. 

got everything installed, ran it, but it did not generate the "allowedstudentcommands" file in the settings folder.

Not sure what I am missing???

Greg Scott

unread,
Oct 15, 2013, 2:08:32 PM10/15/13
to minecraft...@googlegroups.com
Nevermind.  saw that I had to update to 1.5.1.11 or later...did that and it works now.

Craig Merrick

unread,
Oct 15, 2013, 9:03:54 PM10/15/13
to minecraft...@googlegroups.com
Hi Greg,

Glad to hear you got it working, there are some really interesting settings you can use like turning off monsters (if you use monsters) in plots to create a safe zone.

I'd be interested to hear how it goes and let me know if you have any problems, ive found a couple of things that you may need to tweak in order to do different things with the mod.

Craig

Greg Scott

unread,
Oct 22, 2013, 3:14:33 PM10/22/13
to minecraft...@googlegroups.com
Thank you.  Finally got the classes going.  First thing, create a maze on graph paper and transfer that to a build zone (60x60).  Good way to introduce them to creating a plan, transfering it to digital medium, revising said plan.   I will be starting a lunchtime survival server so having the mytown ability to establish a home base will be crucial to their enjoyment of the server.  thank you for all your work on this.


On Wednesday, September 18, 2013 6:05:45 PM UTC-7, Craig Merrick wrote:

Mr Mills

unread,
Dec 4, 2013, 4:25:27 PM12/4/13
to minecraft...@googlegroups.com
Would love to try this, but it keeps crashing out my MinecraftEdu server.. running 1.6.4....

I am putting the .jar files in the right places and the server config files in the right places, but no joy...
Can you advise?

I thought that with the 1.6.4 you only needed to put the .zip file in the Mods folder....???
Well, I don't know much really, so that was just a guess...

Thanks\\

Joel (m)

Rick M

unread,
Dec 4, 2013, 4:31:41 PM12/4/13
to minecraft...@googlegroups.com
Are you getting any error messages, or does the server log have anything that may point to the cause of the crash?


--
You received this message because you are subscribed to a topic in the Google Groups "Minecraft Teachers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/minecraft-teachers/J8LJRyncOv8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to minecraft-teach...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

EduElfie

unread,
Dec 4, 2013, 4:37:24 PM12/4/13
to minecraft...@googlegroups.com
I would be guessing it is the wrong version, this thread is for 1.5.1 I am pretty sure, there is another one to do with 1.6.4 here https://groups.google.com/forum/#!searchin/minecraft-teachers/mytown$201.6.4/minecraft-teachers/dWz8-nu6vtk/sL2GE9Mq-VIJ that might help clear up the issues. I am sure Craig can point you in the right direction for getting it working with 1.6.4 if that thread does not help.

Elfie.
To unsubscribe from this group and all its topics, send an email to minecraft-teachers+unsub...@googlegroups.com.

Mr Mills

unread,
Dec 4, 2013, 4:41:22 PM12/4/13
to minecraft...@googlegroups.com
Hi Craig,

I am having trouble on 1.6.4 stable build 6 MinecraftEdu

I have pinpointed it to the MyTown_1.5.1.0.jar file.

I put the other jar files in the mods folder and it the server is booting up ok. As soon as I add the MyTown_1.5.1.0.jar, CRASH!!!

Any more thoughts?

Thanks

Joel(m)

Rick M

unread,
Dec 4, 2013, 8:59:04 PM12/4/13
to minecraft...@googlegroups.com
Short answer - you're using the wrong version of the mod? There's a 1.6 version of MyTown that you should be using with MCEdu 1.6.4?

IF that's the solution, this is a good example of tracking down mod information on forums.

Because mods can be created by anyone, it's not unusual for the original developer to stop contributing to mod updates, and someone else in the community may step in. 

On the Minecraft Forum thread for MyTown 1.5.1, there's a link very near the top which says "Continuation." That's always an indication that someone new has taken over updating the mod. 

The continuation link takes you to another Minecraft Forum thread for versions 1.5.1 and 1.6.4. Right at the top is a download link from a Dropbox URL. Choose the Minecraft 1.6.x version, give that a shot, and see if the crashing stops.

Craig Merrick

unread,
Dec 4, 2013, 10:59:19 PM12/4/13
to minecraft...@googlegroups.com
Hi Joel,

What Rick said.

Make sure you have the most current version of the mod as well as the mod library file from the 1.5x version (they dont specifically mention that on the continuation page). Hunt around for the mods thread by Maize, I think there is a zip file in their with everything you need to get it cracking on a 1.6.4 version of MinecraftEdu.

Mr Mills

unread,
Dec 5, 2013, 3:53:44 AM12/5/13
to minecraft...@googlegroups.com
Brilliant guys.. I'll try that.
Sounds like the problem will be the version.. agreed!!!

I'll hunt that down. 

Cheers Rick, Cheers Craig!!

Joel (m)

Mr Mills

unread,
Dec 5, 2013, 10:30:56 AM12/5/13
to minecraft...@googlegroups.com
Well, I got it working on one server, but could I get it working on a fresh install on a new machine...??? Hell no!!

Coming up with the error "java.lang.runtimeexception: no sqlite library found"

Not helpful when it runs ok on an older white duel core iMac, but not on a newer iMac with i7 processor running Mavericks...

I'm thinking its a Java problem...????

Joel

Craig Merrick

unread,
Dec 5, 2013, 8:35:01 PM12/5/13
to minecraft...@googlegroups.com
Hey Joel,

Dustin had the same problem in another post and it was identified as not having the MyTownLib.jar folder in the mods folder. Can you confirm what jar files are currently in the mod folder on your server?

Craig

Tom Hendry

unread,
Dec 10, 2013, 12:20:12 PM12/10/13
to minecraft...@googlegroups.com
I have just started using Minecraftedu and have been fighting with the Mytown mod since.

The problem would appear to be created by a problem with sqlite drivers in newer versions of OSX (I haven't tested it on lion) but it worked on snow leopard but not on mountain lion or Mavericks.

To get around this I used the mySQL options in the mytown config file and the mod loaded fine on my new Macmini. I don't have a class in this week as I am involved with a drama project for the third years and as such am off timetable, so i cannot test the mod other than it loading up on the server.

Tom

Mr Mills

unread,
Jan 13, 2014, 11:23:44 AM1/13/14
to minecraft...@googlegroups.com
Hi Tom,

I'd love to know how you got this running on a MySQL database....
I am still getting crashes when I try and connect it to MySQL.
Below is the bit i am editing to try and get it connecting to MySQL.

I have an empty database (MyTown) ready in MySQL, so I am guessing that the Java will connect and create whatever tables are required....???

####################
# database
####################

database {
    # The database name. Used by MySQL
    S:Database=MyTown

    # Hostname:Port of the db server. Used by MySQL
    S:Host=127.0.0.1

    # Password to use when connecting. Used by MySQL
    S:Password=XXXXXXX

    # The database file path. Used by SQLite
    S:Path=config/MyTown/data.db

    # Table name prefix to use. <pre>_towns etc..
    S:Prefix=

    # Database type to connect to
    S:Type=mySql

    # Username to use when connecting. Used by MySQL
    S:Username=minecraft
}


Any help appreciated.

Joel

Mr Mills

unread,
Jan 13, 2014, 11:41:27 AM1/13/14
to minecraft...@googlegroups.com
UPDATE*******************

It looks like it has connected to the Database and set up the tables as The database is now populated with tables and info:
I am now getting a crash error of a different kind...
[Paste]
---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.

Time: 13/01/14 16:33
Description: Exception in server tick loop

cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraftforge/event/world/BlockEvent$BreakEvent
at cpw.mods.fml.common.LoadController.transition(LoadController.java:149)
at cpw.mods.fml.common.Loader.serverStarted(Loader.java:759)
at cpw.mods.fml.common.FMLCommonHandler.handleServerStarted(FMLCommonHandler.java:319)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
Caused by: java.lang.NoClassDefFoundError: net/minecraftforge/event/world/BlockEvent$BreakEvent
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
at java.lang.Class.privateGetPublicMethods(Class.java:2651)
at java.lang.Class.getMethods(Class.java:1467)
at net.minecraftforge.event.EventBus.register(EventBus.java:33)
at ee.lutsu.alpha.mc.mytown.MyTown.modsLoaded(MyTown.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
at cpw.mods.fml.common.Loader.serverStarted(Loader.java:758)
... 3 more
Caused by: java.lang.ClassNotFoundException: net.minecraftforge.event.world.BlockEvent$BreakEvent
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 35 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:178)
... 37 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Mac OS X (x86_64) version 10.9.1
Java Version: 1.7.0_45, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 229912896 bytes (219 MB) / 340262912 bytes (324 MB) up to 1953497088 bytes (1863 MB)
JVM Flags: 1 total; -Xmx2096M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 23, tallocated: 41
FML: MCP v8.11 FML v6.4.20.1?337 Minecraft Forge 9.11.1.0 6 mods loaded, 6 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{6.4.20.1?337} [Forge Mod Loader] (minecraftedu_server.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{9.11.1.0} [Minecraft Forge] (minecraftedu_server.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MyTown{1.6.1.16} [MyTown] (MyTown-1.6.1.16.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Errored
ForgePerms{1.6.1.7} [ForgePerms] (forgeperms-1.6.1.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
PermissionsEx{1.5.0.0} [PermissionsEx] (forgeperms-1.6.1.7.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 20; []
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

[/Paste]

Mr Mills

unread,
Jan 14, 2014, 5:09:42 AM1/14/14
to minecraft...@googlegroups.com
I HAVE FIXED IT:::!!!

Below is the configuration for MyTown that will work on Mavericks 10.9.1 on a Mac Running MinecraftEdu.
This is what I did:
  1. Fresh install of MinecraftEdu 1.6.4 client and server
  2. Fresh install and configuration of MySQL and Sequel Pro (Follow the links here for easy installs.... (BASH commands had to be run from home as work Proxy server blocked the BASH scripts)
  3. Created new empty Database "MyTown" and a new user on MySQL for working with MyTown
  4. On Server: 
    1. Download the "MyTown-Just-The-Mods.zip" file from Maize's GoogleDrive Maize's GDrive of Mods 
      (This will give you MyTown 1.6.1.12 and ForgePerms 1.6.1.5)
      I could not get the latest builds from LegoBear to work... You may have more success...?
    2. UnZip the mods
    3. Put all mods in the ~Users/YourName/Library/Application Support/MinecraftEdu/servertool/server/mods/
  5. Run the servertool for MinecraftEdu
  6. The config files will be generated and the basic database (SQLite) may be created... You will probably get errors the first time you try it.
  7. Stop the server tool.
  8. Edit the MyTown config files that will have been created ...MinecraftEdu/servertool/server/config/MyTown/MyTown.cfg
  9. In the config file change the connection to connect with MySQL.
    1. ####################
      # database
      ####################

      database {
          # The database name. Used by MySQL
          S:Database=MyTown

          # Hostname:Port of the db server. Used by MySQL
          S:Host=127.0.0.1

          # Password to use when connecting. Used by MySQL
          S:Password=XXXXXXX

          # The database file path. Used by SQLite
          S:Path=

    1.     # Table name prefix to use. <pre>_towns etc..
          S:Prefix=

          # Database type to connect to
    1.     S:Type=mySQL

    1.     # Username to use when connecting. Used by MySQL
          S:Username=minecraft
      }
  1. Relaunch the MinecraftEdu Server tool
  2. All should be created correctly and the database connects to MySQL. (You can check by refreshing the database in Sequel Pro... you should now see tables that are ready for population.
The key for me to all of this was not using the latest installs from Legobear, but using the packages from Maize, WITH a MySQL database, NOT an SQLite database.

I really hope this helps someone else from tearing their hair out trying to get this to work.
If I have missed anything, let me know where it went wrong for you, and I'll try and revise/help/fix it with you.

Kind regards

Joel (m)

Tom Hendry

unread,
Jan 17, 2014, 5:45:04 AM1/17/14
to minecraft...@googlegroups.com

Glad to see you got it up and running.

The latest version of MyTown will not run with MinecraftEDU due to the version of forge required the newest version of MyTown that will currently run is 1.6.1.13.

Tom

natalie paine

unread,
Feb 12, 2014, 5:16:45 PM2/12/14
to minecraft...@googlegroups.com
Hi I am having difficulty with the MyTown mod.

I am running a minecraftedu server on a mac server running 10.8

I placed the mod files in server/mods, and I am getting an SQL error. I know nothing about SQL or what to do next. This is the first mod I am trying to install - I am very new at this! Someone please provide some guidance.

The crash report is below:

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 2/12/14 4:53 PM
Description: Exception in server tick loop

java.lang.RuntimeException: no SQLite library found
at ee.lutsu.alpha.mc.mytown.MyTown.modsLoaded(MyTown.java:124)
at cpw.mods.fml.common.FMLCommonHandler.handleServerStarted(FMLCommonHandler.java:319)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)
Caused by: java.sql.SQLException: no SQLite library found
at org.sqlite.Conn.open(Conn.java:136)
at org.sqlite.Conn.<init>(Conn.java:57)
at org.sqlite.JDBC.createConnection(JDBC.java:77)
at org.sqlite.JDBC.connect(JDBC.java:64)
at ee.lutsu.alpha.mc.mytown.sql.Database.connect(Database.java:184)
at ee.lutsu.alpha.mc.mytown.MyTownDatasource.init(MyTownDatasource.java:39)
at ee.lutsu.alpha.mc.mytown.MyTown.modsLoaded(MyTown.java:122)
... 29 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Mac OS X (x86_64) version 10.8.5
Java Version: 1.7.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 262372400 bytes (250 MB) / 382730240 bytes (365 MB) up to 954728448 bytes (910 MB)
JVM Flags: 1 total; -Xmx1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 15, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v8.11 FML v6.4.20.1?337 Minecraft Forge 9.11.1.0 6 mods loaded, 6 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{6.4.20.1?337} [Forge Mod Loader] (minecraftedu_server.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{9.11.1.0} [Minecraft Forge] (minecraftedu_server.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MyTown{1.6.1.10} [MyTown] (MyTown-1.6.1.12.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Errored
ForgePerms{1.0.0} [ForgePerms] (forgeperms-1.6.1.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
PermissionsEx{1.5.0.0} [PermissionsEx] (forgeperms-1.6.1.5.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 100; []

Mr Mills

unread,
Feb 13, 2014, 6:47:08 AM2/13/14
to minecraft...@googlegroups.com
Hi Natalie,

Please see my last post above. 
I too had trouble with MyTown crashing out on me and I found out that I needed an older version of the mod to get it to work ok.
I chose to use a MySQL database rather than the SQLite version as I have some experience of MySQL so I was able to track what was happening better.

However, I believe that using the older version of the mod should solve most problems for you.

Good luck.

Joel

natalie paine

unread,
Feb 13, 2014, 1:01:32 PM2/13/14
to minecraft...@googlegroups.com
Hi Joel,

Will my mac server already have MySQL? (I don't even know what that is). How do I find out what to fill those spots in with - database/host/password etc?

Or if I install an older version can I bypass the errors altogether?

I feel totally in uncharted territory!

Thank you,

Natalie
Reply all
Reply to author
Forward
0 new messages