I am glad I picked it up myself, it has been a learning experience for me (and I love learning new things).
The best way to do it, I already told TrenTech, would be to set the plot owner and plot town directly by invoking the correct functions after getting the plot/TownBlock. Being as they are op for barely a tick in most cases I would assume there would be little chance for a player to issue a command in that short of a time-span, but the concern is definitely there.
well mytown is the best protection mod available for modded servers during 1.4.7 days i didn't bother with mcpc+ but running a private pack and wanting to be able to do more we looked at towny but it just lacks the protection so yea back to mytown we came we were just lucky that you had picked it up
also on a side note TrenTech i don't think your plugin is safe for public servers you should at no time ever be oping a player could you not just run a console command instead for buying plots
just my thoughts
cheers Dez
I'm quite aware of this. Me and lego are working on a way around that
sweet im just checking as it stands we use commandrank to have a sign in our shop that sells plots so the sign gets console to run /ta extrares %name% add 1
Rollback Post to RevisionRollBack
my servers proudly use MyTown for grief protection
As for the grab feature of Gravitygun and portal gun, there isn't really any good way right now to stop those, just disable the grab feature in portal gun's config for now.
The only way to turn off the portal gun grab is to blacklist every single block in the game... the whitelist in the config does not work. I do not know why they have not fixed the white list as portalgun block grab griefing has been an issue for so long now, or just put in an off option for it.
charge to start a town cost to use /t new (note currently the plugin can not see if you already have a town so will charge you if you use it by mistake)
charge to claim land use /t claim (note again the plugin cant see if your already on claimed land be careful)
you can set if players receive a tax free plot
the plugin also includes a chat overlay that was designed to fit in with group manager this enables us to have the town name followed by the (prefix)player name(suffix)
example: [Revolution][Lord_of_Steam]Dezil_NZ[owner]:chat gos here
because we like to keep our plugins light the town name only updates on player logging out/in
it also includes a chat function so you can toggle between town chat and global chat
Commands
/paymytown: add funds to your town. /paymytown amount (e.g. /paymytown 1000)
Cheers Dez
Had a couple of questions after reading your post. By not see current towns if they have one, do you mean town created with Mytown itself before the addon, or can someone use your plugin to create multiple town using your addon commands and it can't track them? Our server is small enough that we could wipe our current towns and start new ones if it means they will be tracked right.
Second, the chat overlay, doesn't Mytown override the chat overly and add channels as it is (though in our case they are not working at least it says we are in the channel but it still posts in global for us) How is this different? We are using group manager so "working with it" caught my eye there.
Third, does it tax the residents or does money have to be manually deposited in the town bank?
Make a new town - you're the mayor at the moment.
Claim the area you wish to protect.
Use /mytownadmin (/ta) commands to remove a player from town.
The town will still exist, but have no members, it will show X chunks claimed out of 0 available, but it will work fine/
This seems counter productive. Whether you use /ta to add and remove members he'd still be the mayor and would not be able to create a town of his own unless he used /ta to change the mayor to another player or fakeplayer.
sweet im just checking as it stands we use commandrank to have a sign in our shop that sells plots so the sign gets console to run /ta extrares %name% add 1
Was unaware the commands were able to run in the console otherwise I would have done that to begin with. I can do that until I figure out a way to directly hook into the MyTownDatasource class
You misunderstood me. He can use /ta to remove himself, so the town has NO mayor. There's no need put a fake player as mayor, just leave it empty
We've used this to make a spawn protection on ftb-craft, the server Alphaest played on, and we did so on my current server too
Ah I see. That's not a bad idea. you can probably just create a town with /ta new [townname] null, but don't quote me on that. it could fail in amazing ways
Crash with AE 12 and 13a
Edit: This happens when you try to open up a AE disk drive. It does not occur in SP without myTown.
java.lang.AbstractMethodError: appeng.me.tile.TileDrive.func_70300_a(Lnet/minecraft/entity/player/EntityPlayer;)Z
13:36:30 [SEVERE] at ee.lutsu.alpha.mc.mytown.event.PlayerEvents.interact(PlayerEvents.java:144)
13:36:30 [SEVERE] at net.minecraftforge.event.ASMEventHandler_207_PlayerEvents_interact_PlayerInteractEvent.invoke(.dynamic)
13:36:30 [SEVERE] at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
13:36:30 [SEVERE] at net.minecraftforge.event.EventBus.post(EventBus.java:108)
13:36:30 [SEVERE] at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:41)
13:36:30 [SEVERE] at net.minecraft.item.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:548)
13:36:30 [SEVERE] at net.minecraft.network.NetServerHandler.func_72472_a(NetServerHandler.java:882)
13:36:30 [SEVERE] at net.minecraft.network.packet.Packet15Place.func_73279_a(Packet15Place.java:79)
13:36:30 [SEVERE] at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:464)
13:36:30 [SEVERE] at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:231)
13:36:30 [SEVERE] at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
13:36:30 [SEVERE] at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
13:36:30 [SEVERE] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:872)
13:36:30 [SEVERE] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:318)
13:36:30 [SEVERE] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:741)
13:36:30 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:625)
13:36:30 [SEVERE] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
13:36:30 [SEVERE] Encountered an unexpected exception AbstractMethodError
java.lang.AbstractMethodError: appeng.me.tile.TileDrive.func_70300_a(Lnet/minecraft/entity/player/EntityPlayer;)Z
at ee.lutsu.alpha.mc.mytown.event.PlayerEvents.interact(PlayerEvents.java:144)
at net.minecraftforge.event.ASMEventHandler_207_PlayerEvents_interact_PlayerInteractEvent.invoke(.dynamic)
at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
at net.minecraftforge.event.EventBus.post(EventBus.java:108)
at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:41)
at net.minecraft.item.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:548)
at net.minecraft.network.NetServerHandler.func_72472_a(NetServerHandler.java:882)
at net.minecraft.network.packet.Packet15Place.func_73279_a(Packet15Place.java:79)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:464)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:231)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:872)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:318)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:741)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:625)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Also the chat duplication I pointed out earlier is something to do with mytown and mcpc. You can't even enable chatmanager if you turn off mytown chat. it just autodisables it's self.
Was unaware the commands were able to run in the console otherwise I would have done that to begin with. I can do that until I figure out a way to directly hook into the MyTownDatasource class
That's why I mentioned it as it seemed more logical to use console than temp op a player even if only for a fraction of a second
Rollback Post to RevisionRollBack
my servers proudly use MyTown for grief protection
That's why I mentioned it as it seemed more logical to use console than temp op a player even if only for a fraction of a second
I just tried it and none of the /ta commands will run on the console but legobear is going to fix that. Also adding sign support for the shops and already fixed the the dimension problem with the over world and mystcraft.
I just tried it and none of the /ta commands will run on the console but legobear is going to fix that. Also adding sign support for the shops and already fixed the the dimension problem with the over world and mystcraft.
just checked this and console runs the commands fine saying that i just checked my version of mytown and im still on 1.5.1.2 so that may explain it
Rollback Post to RevisionRollBack
my servers proudly use MyTown for grief protection
just checked this and console runs the commands fine saying that i just checked my version of mytown and im still on 1.5.1.2 so that may explain it
Ah that version is quite old in comparison to the number of updates the past 2 months. Must be something Lego changed between then and now. I'll let him know
Ah that version is quite old in comparison to the number of updates the past 2 months. Must be something Lego changed between then and now. I'll let him know
Yea ill load up my test server later today and up date to the latist and see what it breaks for me
Rollback Post to RevisionRollBack
my servers proudly use MyTown for grief protection
The Meaning of Life, the Universe, and Everything.
Join Date:
6/7/2013
Posts:
53
Member Details
Love the info; y'all have really helped me feel confident about my next update to my server posts; and a better new player experience! -still have a lot of work/learning about the available pex nodes I have and completing ladders/ranks etc
plans would be to trim down new player rank even more
provide a pvp on/off system
Have a group based on the starter kit selected - really they would all be the same access cept easy would start pvp off when ya pick easy.
and um.. I guess a builders group.
lol - lots of work still to do ><
Anyone else having issues with mytown and placing Applied Energistics blocks? Whenever I place say a grindstone for example the server crashes with the following error. This is running the 1.6.1.8 MyTown with the RV13 Applied Energistics and 1.6.2 MC
---- Minecraft Crash Report ----
// My bad.
Time: 8/26/13 12:24 AM
Description: Exception in server tick loop
java.lang.AbstractMethodError
at ee.lutsu.alpha.mc.mytown.event.PlayerEvents.interact(PlayerEvents.java:144)
at net.minecraftforge.event.ASMEventHandler_156_PlayerEvents_interact_PlayerInteractEvent.invoke(.dynamic)
at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
at net.minecraftforge.event.EventBus.post(EventBus.java:108)
at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:41)
at net.minecraft.item.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:394)
at net.minecraft.network.NetServerHandler.func_72472_a(NetServerHandler.java:554)
at net.minecraft.network.packet.Packet15Place.func_73279_a(SourceFile:58)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:458)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:141)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(SourceFile:30)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:689)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:275)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:585)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:582)
I have not into this with Mytown and AE, but we are running 1.5.2 on our server so maybe something has changed in either Mytown or AE in 1.6.2 that is causing it.
I need some help with how to build the (PEX?) permissions.yml. I can open it in Notepad++, but I'm wondering how to build it.
Ideally, there are 3 groups:
- Visitors to the server with very minimal/no permissions (can't build/loot)
- Registered players that can build, loot, basically everything and use /t claim, unclaim, /t new, /t invite and accept, AND use /sethome and /home (these have been the biggest requests)
- Admins (only two) that have access to everything, and /ta commands.
- If possible, I'd like admins to have a coloured prefix called [Admin] before their player name when they chat Perhaps one for visitors and players too).
If anyone can help me with how to script/build the permissions.yml that would be really helpful! (Currently, registered players can ONLY harvest/mine items with their respective tools, NO tree punching or dirt punching without the block replacing itself, even residents can't push buttons when given permission to do so, and using the /sethome and /home commands for non-OPs doesn't work)
The best way to do it, I already told TrenTech, would be to set the plot owner and plot town directly by invoking the correct functions after getting the plot/TownBlock. Being as they are op for barely a tick in most cases I would assume there would be little chance for a player to issue a command in that short of a time-span, but the concern is definitely there.
I'm quite aware of this. Me and lego are working on a way around that
The only way to turn off the portal gun grab is to blacklist every single block in the game... the whitelist in the config does not work. I do not know why they have not fixed the white list as portalgun block grab griefing has been an issue for so long now, or just put in an off option for it.
Had a couple of questions after reading your post. By not see current towns if they have one, do you mean town created with Mytown itself before the addon, or can someone use your plugin to create multiple town using your addon commands and it can't track them? Our server is small enough that we could wipe our current towns and start new ones if it means they will be tracked right.
Second, the chat overlay, doesn't Mytown override the chat overly and add channels as it is (though in our case they are not working at least it says we are in the channel but it still posts in global for us) How is this different? We are using group manager so "working with it" caught my eye there.
Third, does it tax the residents or does money have to be manually deposited in the town bank?
Digital Reality Private Pack - 200+ Mods, Dedi Server
as for the first question what i meant was if they use /t new if they already have a town the plugin will charge them again
This seems counter productive. Whether you use /ta to add and remove members he'd still be the mayor and would not be able to create a town of his own unless he used /ta to change the mayor to another player or fakeplayer.
Was unaware the commands were able to run in the console otherwise I would have done that to begin with. I can do that until I figure out a way to directly hook into the MyTownDatasource class
Ah I see. That's not a bad idea. you can probably just create a town with /ta new [townname] null, but don't quote me on that. it could fail in amazing ways
Edit: This happens when you try to open up a AE disk drive. It does not occur in SP without myTown.
13:36:30 [SEVERE] at ee.lutsu.alpha.mc.mytown.event.PlayerEvents.interact(PlayerEvents.java:144)
13:36:30 [SEVERE] at net.minecraftforge.event.ASMEventHandler_207_PlayerEvents_interact_PlayerInteractEvent.invoke(.dynamic)
13:36:30 [SEVERE] at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
13:36:30 [SEVERE] at net.minecraftforge.event.EventBus.post(EventBus.java:108)
13:36:30 [SEVERE] at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:41)
13:36:30 [SEVERE] at net.minecraft.item.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:548)
13:36:30 [SEVERE] at net.minecraft.network.NetServerHandler.func_72472_a(NetServerHandler.java:882)
13:36:30 [SEVERE] at net.minecraft.network.packet.Packet15Place.func_73279_a(Packet15Place.java:79)
13:36:30 [SEVERE] at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:464)
13:36:30 [SEVERE] at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:231)
13:36:30 [SEVERE] at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
13:36:30 [SEVERE] at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
13:36:30 [SEVERE] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:872)
13:36:30 [SEVERE] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:318)
13:36:30 [SEVERE] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:741)
13:36:30 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:625)
13:36:30 [SEVERE] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
13:36:30 [SEVERE] Encountered an unexpected exception AbstractMethodError
java.lang.AbstractMethodError: appeng.me.tile.TileDrive.func_70300_a(Lnet/minecraft/entity/player/EntityPlayer;)Z
at ee.lutsu.alpha.mc.mytown.event.PlayerEvents.interact(PlayerEvents.java:144)
at net.minecraftforge.event.ASMEventHandler_207_PlayerEvents_interact_PlayerInteractEvent.invoke(.dynamic)
at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)
at net.minecraftforge.event.EventBus.post(EventBus.java:108)
at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:41)
at net.minecraft.item.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:548)
at net.minecraft.network.NetServerHandler.func_72472_a(NetServerHandler.java:882)
at net.minecraft.network.packet.Packet15Place.func_73279_a(Packet15Place.java:79)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:464)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:231)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:872)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:318)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:741)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:625)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Also the chat duplication I pointed out earlier is something to do with mytown and mcpc. You can't even enable chatmanager if you turn off mytown chat. it just autodisables it's self.
That's why I mentioned it as it seemed more logical to use console than temp op a player even if only for a fraction of a second
I just tried it and none of the /ta commands will run on the console but legobear is going to fix that. Also adding sign support for the shops and already fixed the the dimension problem with the over world and mystcraft.
just checked this and console runs the commands fine saying that i just checked my version of mytown and im still on 1.5.1.2 so that may explain it
Ah that version is quite old in comparison to the number of updates the past 2 months. Must be something Lego changed between then and now. I'll let him know
Yea ill load up my test server later today and up date to the latist and see what it breaks for me
plans would be to trim down new player rank even more
provide a pvp on/off system
Have a group based on the starter kit selected - really they would all be the same access cept easy would start pvp off when ya pick easy.
and um.. I guess a builders group.
lol - lots of work still to do ><
Anyone?
Digital Reality Private Pack - 200+ Mods, Dedi Server
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
java.lang.ClassNotFoundException: org.sqlite.JDBC
I had the previous version running (1.4.7) and recently upgraded server (1.5.2). I have other things running mysql and sqlite.
I'm running a dedicated server on Centos.
AE is not working with mytown in 1.6.2
I need some help with how to build the (PEX?) permissions.yml. I can open it in Notepad++, but I'm wondering how to build it.
Ideally, there are 3 groups:
- Visitors to the server with very minimal/no permissions (can't build/loot)
- Registered players that can build, loot, basically everything and use /t claim, unclaim, /t new, /t invite and accept, AND use /sethome and /home (these have been the biggest requests)
- Admins (only two) that have access to everything, and /ta commands.
- If possible, I'd like admins to have a coloured prefix called [Admin] before their player name when they chat Perhaps one for visitors and players too).
If anyone can help me with how to script/build the permissions.yml that would be really helpful! (Currently, registered players can ONLY harvest/mine items with their respective tools, NO tree punching or dirt punching without the block replacing itself, even residents can't push buttons when given permission to do so, and using the /sethome and /home commands for non-OPs doesn't work)