MyTown / aPerf - server protection and performance mods

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
This thing needs need attention because it it just nice. Decided to share another example .yml that is not perfect but works.
Tried spoilers for this but it keeps doing 4x spoilers for some messed reason.

groups:
Member:
default: true
prefix: $7
build: true
permissions:
- modifyworld.login
- modifyworld.enter.(-1|0|1)
- -mytown.chat.allowcaps
- mytown.chat.*
- mytown.cmd.list
worlds:
'0':
permissions:
- modifyworld.blocks.interact.1226:4
- modifyworld.blocks.interact.116
- -modifyworld.damage.deal.*
- modifyworld.damage.take.*
- -modifyworld.blocks.*
- -mytown.cmd.(|.*)
'-1':
permissions:
- -modifyworld.blocks.(place|interact|destroy).(46|504|613|622|939:1|1001|1053|1053:2|1227|1227:*|1228|1228:*)
- modifyworld.*
- mytown.cmd(|.*)
'1':
permissions:
- -modifyworld.blocks.(place|interact|destroy).(46|504|613|622|939:1|1001|1053|1053:2|1227|1227:*|1228|1228:*)
- modifyworld.*
- mytown.cmd.(|.*)
Trusted:
prefix: $2
inheritance:
- Member
permissions:
- mytown.com.spawn.other
- mytown.adm.bypass.teleportwait
- mytown.chat.allowcaps
worlds:
'-1':
permissions:
- modifyworld.blocks.(place|interact|destroy).(46|613|1053:2|1227|1227:*|1228|1228:*)
'1':
permissions:
- modifyworld.blocks.(place|interact|destroy).(46|613|1053:2|1227|1227:*|1228|1228:*)
Veteran:
prefix: $6
inheritance:
- Member
worlds:
'0':
permissions:
- modifyworld.damage.take.*
- modifyworld.interact.*
'-1':
permissions:
- modifyworld.*
- mytown.cmd(|.*)
'1':
permissions:
- modifyworld.*
- mytown.cmd.(|.*)
 
I am noob i guess at this, how do i install forgeessentials? i have put core into the cor mods and then modules into the mods foler in my server files, but then i cant run my server :/
 
Howdy, I tried to use your PermissionsEx on my FTB server, and got the following error:

NOTE: Read Bottom To Top, my hosting's console is odd.

Code:
22.01 22:58:47 [Server] INFO Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
22.01 22:58:47 [Server] INFO at java.lang.Thread.run(Unknown Source)
22.01 22:58:47 [Server] INFO at keepcalm.mods.bukkit.asm.BukkitStarter.run(BukkitStarter.java:46)
22.01 22:58:47 [Server] INFO at keepcalm.mods.bukkit.bukkitAPI.BukkitServer.<init>(BukkitServer.java:245)
22.01 22:58:47 [Server] INFO at keepcalm.mods.bukkit.bukkitAPI.BukkitServer.loadPlugins(BukkitServer.java:892)
22.01 22:58:47 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132)
22.01 22:58:47 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:253)
22.01 22:58:47 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
22.01 22:58:47 [Server] SEVERE Could not load './plugins/PermissionsEx_1.4.6.0.jar' in folder './plugin

I'm running the latest BukkitForge, if that's likely to cause problems?
 
Thats PEX from bukkitforge that you have installed. As far as i know that havent been tested used with MyTown.
 
pex for mytown its a forge mod. has nothing to do with bukkitforge or the pex plugin.
 
Ah, I see, I misinterpreted, I thought this was -your- version, been trying to get any version working, blah!
Alright, thanks anyway.
 
Mods updated. The changelog is massive, i strongly recommend reading the original topic listed in the first post!
 
Also the lib jar? And have you changed (made) any of the configs prior to starting it up?
 
Got a small problem :/
When i enable the option

# Build check: EntityAlumentum & ItemWandExcavation
B:ThaumCraft=true

The server wont start anymore getting this error
Code:
2013-02-08 15:38:20 [INFO] [STDERR] java.lang.RuntimeException: ProtectionEvents
cannot load ThaumCraft class. Is ThaumCraft loaded?
2013-02-08 15:38:20 [INFO] [STDERR]    at ee.lutsu.alpha.mc.mytown.event.Protec
tionEvents.setFields(ProtectionEvents.java:232)
2013-02-08 15:38:20 [INFO] [STDERR]    at ee.lutsu.alpha.mc.mytown.event.Protec
tionEvents.tickStart(ProtectionEvents.java:118)
2013-02-08 15:38:20 [INFO] [STDERR]    at cpw.mods.fml.common.SingleIntervalHan
dler.tickStart(SingleIntervalHandler.java:16)
2013-02-08 15:38:20 [INFO] [STDERR]    at cpw.mods.fml.common.FMLCommonHandler.
tickStart(FMLCommonHandler.java:119)
2013-02-08 15:38:20 [INFO] [STDERR]    at cpw.mods.fml.common.FMLCommonHandler.
onPreWorldTick(FMLCommonHandler.java:295)
2013-02-08 15:38:20 [INFO] [STDERR]    at net.minecraft.server.MinecraftServer.
r(MinecraftServer.java:664)
2013-02-08 15:38:20 [INFO] [STDERR]    at ho.r(DedicatedServer.java:269)
2013-02-08 15:38:20 [INFO] [STDERR]    at net.minecraft.server.MinecraftServer.
q(MinecraftServer.java:599)
2013-02-08 15:38:20 [INFO] [STDERR]    at net.minecraft.server.MinecraftServer.
run(MinecraftServer.java:497)
2013-02-08 15:38:20 [INFO] [STDERR]    at fy.run(SourceFile:849)
2013-02-08 15:38:20 [INFO] [STDERR] Caused by: java.lang.ClassNotFoundException:
thaumcraft.common.entities.EntityAlumentum
2013-02-08 15:38:20 [INFO] [STDERR]    at cpw.mods.fml.relauncher.RelaunchClass
Loader.findClass(RelaunchClassLoader.java:185)
2013-02-08 15:38:20 [INFO] [STDERR]    at java.lang.ClassLoader.loadClass(Unkno
wn Source)
2013-02-08 15:38:20 [INFO] [STDERR]    at java.lang.ClassLoader.loadClass(Unkno
wn Source)
2013-02-08 15:38:20 [INFO] [STDERR]    at java.lang.Class.forName0(Native Metho
d)
2013-02-08 15:38:20 [INFO] [STDERR]    at java.lang.Class.forName(Unknown Sourc
e)
2013-02-08 15:38:20 [INFO] [STDERR]    at ee.lutsu.alpha.mc.mytown.event.prot.T
haumCraft.load(ThaumCraft.java:34)
2013-02-08 15:38:20 [INFO] [STDERR]    at ee.lutsu.alpha.mc.mytown.event.Protec
tionEvents.setFields(ProtectionEvents.java:228)
2013-02-08 15:38:20 [INFO] [STDERR]    ... 9 more
2013-02-08 15:38:20 [INFO] [STDERR] Caused by: java.lang.NullPointerException
2013-02-08 15:38:20 [SEVERE] [Minecraft] Encountered an unexpected exception Run
timeException
java.lang.RuntimeException: ProtectionEvents cannot load ThaumCraft class. Is Th
aumCraft loaded?
        at ee.lutsu.alpha.mc.mytown.event.ProtectionEvents.setFields(ProtectionE
vents.java:232)
        at ee.lutsu.alpha.mc.mytown.event.ProtectionEvents.tickStart(ProtectionE
vents.java:118)
        at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHan
dler.java:16)
        at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java:
119)
        at cpw.mods.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.
java:295)
        at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:664)
        at ho.r(DedicatedServer.java:269)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
        at fy.run(SourceFile:849)
Caused by: java.lang.ClassNotFoundException: thaumcraft.common.entities.EntityAl
umentum
        at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLo
ader.java:185)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at ee.lutsu.alpha.mc.mytown.event.prot.ThaumCraft.load(ThaumCraft.java:3
4)
        at ee.lutsu.alpha.mc.mytown.event.ProtectionEvents.setFields(ProtectionE
vents.java:228)
        ... 9 more
Caused by: java.lang.NullPointerException
 
I presume that Thaumcraft is loading up, with the version provided in the FTB pack(s)? Please post full errorlog.
 
Yep Thaumcraft itself works totally fine and its the version provided in the Mindcrack pack.
Here is the startup with the erorr
http://pastebin.com/HpftywLJ

All protections work aswell mining laser ect , just the problem with Thaumcraft :/
 
That pastebin looks abit strange to me. Where is the listing of mods loading? And what version of MyTown are you using. Make shure to use the latest one. Also, did you add the libfile in the moddirectory?