Hello everyone, I am very new to running servers for anything more than myself and my son on a internal network. We would like to open it up to some of his friends and some of our other family members but needed some way to protect plots. We are using FTB unleashed as a server, which is forge-based.
I have downloaded MyTtown as that was recommended as a way to fairly simply allow the different people to claim and protect areas to build the houses/towns. I have also downloaded the ForgePerms file with PermissionsEX mentioned above.
I know the next step is to somehow set the permission files, but most of the things I can find start dealing with something far more complex assuming basic starting knowledge about permissions I do not have. As this is for family and friends I am not really needing multiple levels, although I understand I would have the option to add more levels later if necessary. I want people to be able to create their own towns and nations and set the permissions within those towns.
Can anybody point me to a very basic walk-through or upload a very basic permissions file that lets the default player to use the basic elements of my town? I am more than willing to learn, but I think starting with a file that allows that an understanding the file would help as I cannot seem to find a good starting point it does not quickly get to complex were suggested designed for bukkit rather than forge servers. I want them to be able to create a town that to be protected for them, unless they allow others permissions. I also know I need to learn how to set how many plot somebody gets and if there is ways to get more plots, but I am trying to start with letting people create their own town in the first place.
Thanks in advance.
Here's a perm yml I just slapped together. I'm pretty sure it covers everything, allowing players to gain all functions of mytown, and giving admins access to the admin commands of mytown. It's untested so there may be a node or two missing. Just to clarify, in the Users group you'll see mytown.cmd.* This node gives players access to everything under mytown.cmd for example mytown.cmd.list is covered under mytown.cmd.*.
I would also recommend watching this
Its a tutorial for the bukkit version of permissionsex so some information may be irrelevent but the configuration concept is the same and will give you a better understanding on how permissions work.
As far as i can tell there are no errors being thrown, but I haven't had the opportunity to do any hardcore testing yet, so there's a chance something could fail. From what i can tell everything currently implemented works as intended. Also I'm very new to java so the code needs some cleaning up. I'm open to any suggestions as well as some contributions to the coding process.
That is great to hear, we are looking forward addon to Mytown, as we are a new server and just just switched from towny to Mytown. Many of the players feel that not having a money based econ breaks the econ as the town taxes are the biggest reason to earn money. SO glad to hear that it won't corrupt chunks at least; how stable is it though? I am an admin, taking care of most of the plugins right now and I think the owner would let us test it out if it does not corrupt chunks or make the server crash.
I also second the fact that the whole perm examples, listing etc could be done alot better, maybe samples of each major perm system? I know it took me about 2 days of reading and searching to find all the perms and such, and to finally get them working.
We do have one issue with Mytown as the perms keeping "dropping out", one minute everything will be fine and all the players will have access, the next thing the players get mytown is not a recognized command, I reload the perms and they are working again.
We are running a 1.5.2 FTB pack on the latest stable MCPC+ with Group Manager, vault, and all the associated mytown mods and plugins in the correct spot( as shown that when it works it works fine). With group manager, where it had the global and group perms, does it matter which the Mytown perms are listed in, we have them in the global right now, as they should effect every player no matter world.
Another issue is that Mytown is not protecting against the portal gun mod grab feature, though it does for portal creation; the portal gun mod is specifically listed in the op as being protected against. Am I missing a config setting or town/plot perm to protect against the grab feature somewhere?
The Meaning of Life, the Universe, and Everything.
Join Date:
11/29/2010
Posts:
45
Member Details
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)
That is great to hear, we are looking forward addon to Mytown, as we are a new server and just just switched from towny to Mytown. Many of the players feel that not having a money based econ breaks the econ as the town taxes are the biggest reason to earn money. SO glad to hear that it won't corrupt chunks at least; how stable is it though? I am an admin, taking care of most of the plugins right now and I think the owner would let us test it out if it does not corrupt chunks or make the server crash.
I also second the fact that the whole perm examples, listing etc could be done alot better, maybe samples of each major perm system? I know it took me about 2 days of reading and searching to find all the perms and such, and to finally get them working.
We do have one issue with Mytown as the perms keeping "dropping out", one minute everything will be fine and all the players will have access, the next thing the players get mytown is not a recognized command, I reload the perms and they are working again.
We are running a 1.5.2 FTB pack on the latest stable MCPC+ with Group Manager, vault, and all the associated mytown mods and plugins in the correct spot( as shown that when it works it works fine). With group manager, where it had the global and group perms, does it matter which the Mytown perms are listed in, we have them in the global right now, as they should effect every player no matter world.
Another issue is that Mytown is not protecting against the portal gun mod grab feature, though it does for portal creation; the portal gun mod is specifically listed in the op as being protected against. Am I missing a config setting or town/plot perm to protect against the grab feature somewhere?
I wouldnt use it on a public server yet. i realized after i wrote that message that it will miss assign shop plots in certain worlds due to the way i'm getting the dim id's. lego is helping me figure out a different solution. everything else works though. i'll also be working on adding a tax system once i sort out the details on how it will work.
Not sure what's the problem with the perm systems? I mean, each permission system should offer a configuration guide on it's website - how to set up groups, add users and permission nodes to each group and stuff like that.
This topic should only list the permission nodes used with information what they are needed for, and it does so.
If you meant that these nodes and their descriptions were unclear, I could try rewriting that part.
Out of curiosity I've looked up how to configure the Group Manager plugin (http://wiki.ess3.net...i/Group_Manager) and I must say, it has many more files than PermissionsEx
Group Manager is not bad it is only the group and globalgroups that need to be configured; and really you can use just the global groups for perms if someone wanted. Group Manager just breaks everything into separate files so it is in smaller chunks and you can to exactly what you want to change easily if not using the console.
As to the perms and commands in the op, yes they are confusing. If you haven't done so google Mytown perms or such; you will find quite a few threads of people trying to get it to work. Most end up pointing to here eventulIy and still the thread goes on with people having trouble getting the perms working. In my opinion I think about the only reason more people do not use Mytown over towny, is first configuring the perms, and second the lack of money based economy tie in.
Hate to do it but here is an example of Towny's perm listing ( I wouldn't use it but it is the only really comparable plugin)
I wouldnt use it on a public server yet. i realized after i wrote that message that it will miss assign shop plots in certain worlds due to the way i'm getting the dim id's. lego is helping me figure out a different solution. everything else works though. i'll also be working on adding a tax system once i sort out the details on how it will work.
We are only running towns and shops in the Overworld, as it seems to work there I don't think that will be an issue for now. Btw I have a test server that I test all configs and such out on first and while testing your addon I came across an issue. How does you addon tie into the economy? I see nothing in the configs to point to a database or economy plugin. I have set the prices in the config, and have the money on the test server, however it tells me "you need xxx money to buy" or such.
Btw, have you thought of combining your plugin with the tax plugin listed a page or so back? Seems if they already have a beta, it would be kind of a duplication in effort to have two tax systems or mytown economy addons when you could combine the effort and have one with maybe more features; just a thought on my part.
Can someone tell me how to enable the /t command instead of /mytown and why does it tell you unassigned when you enter a town you make. I there a way to change the unassigned to assigned to someone :). Also I disabled the chat commands for mytown preferring groupmanger ranks I already had set up when you make a town it tells you on /mytown command the town belongs to '&4mamalou which is my characters in game name prefix for groupmanager. Is there a way to change that.
Group Manager is not bad it is only the group and globalgroups that need to be configured; and really you can use just the global groups for perms if someone wanted. Group Manager just breaks everything into separate files so it is in smaller chunks and you can to exactly what you want to change easily if not using the console.
As to the perms and commands in the op, yes they are confusing. If you haven't done so google Mytown perms or such; you will find quite a few threads of people trying to get it to work. Most end up pointing to here eventulIy and still the thread goes on with people having trouble getting the perms working. In my opinion I think about the only reason more people do not use Mytown over towny, is first configuring the perms, and second the lack of money based economy tie in.
Hate to do it but here is an example of Towny's perm listing ( I wouldn't use it but it is the only really comparable plugin)
We are only running towns and shops in the Overworld, as it seems to work there I don't think that will be an issue for now. Btw I have a test server that I test all configs and such out on first and while testing your addon I came across an issue. How does you addon tie into the economy? I see nothing in the configs to point to a database or economy plugin. I have set the prices in the config, and have the money on the test server, however it tells me "you need xxx money to buy" or such.
Btw, have you thought of combining your plugin with the tax plugin listed a page or so back? Seems if they already have a beta, it would be kind of a duplication in effort to have two tax systems or mytown economy addons when you could combine the effort and have one with maybe more features; just a thought on my part.
Its hooked into vault. Ive only tested it with essentails economy so i'm assuming your economy plugin isnt hooked into vault or isnt vault supported. I wasnt aware there was already a tax plugin. i'll check it out. its probably better than anything i could write so maybe i'll talk to the dev about combining the two.
The Meaning of Life, the Universe, and Everything.
Join Date:
6/7/2013
Posts:
53
Member Details
have i missed more versions >< 1.5.1.1 that all linked for me is awsome and running pex commands; but it seems to have lost it's ability to do @p at least so far as tested for aurguments; have a missed an escape character? @p and '@p' have been added to my play group a fee times over now.
I should test more commands... yet this feels like it may be an general behaviour for all them pex commands ??
The Meaning of Life, the Universe, and Everything.
Join Date:
6/7/2013
Posts:
53
Member Details
same as previous
"/pex user @p group set User" Resulted in @p as a username added to group User and "/pex user '@p' group set User" Resulted in '@p' as a username added to group User and "/pex user "@p" group set User" Resulted in @p as a username added to group User
Its hooked into vault. Ive only tested it with essentails economy so i'm assuming your economy plugin isnt hooked into vault or isnt vault supported. I wasnt aware there was already a tax plugin. i'll check it out. its probably better than anything i could write so maybe i'll talk to the dev about combining the two.
Hmm, I will have to check, we are running Vault and as we have no separate economy plugin listed on the server I assumed it was essential economy that was running. I will have to check on this with the owner.
hey guys as some interest has been shown first i would like to seek permission from lego to post a download on his thread
secondly i would like to let you know that the tax plugin comes as it is we may look at suggestions but as it has been designed for our server we will only apply things to it that suit our agenda we also only make the plugin available because we know it is something that mytown is missing and if more people use mytown it will get looked after better
curently the plugin can
charge tax this is set on an amount per 24hours
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
set how often to take money from the towns account (example: if tax is set at 240 per 24 hours and this is set to tax every hour 10 will be taken ever hour)
if a towns account does not have enough money it will remove the last x claims (x = number of claims it cant afford)
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)
/mytownBal: provides how much money is in your towns account
/TaxCost: provides information on how much your town is being taxed, and how many chunks are being taxed
/TownChat: toggles the Town Chat where only your town can see your messages.
/toptownbal: lets you know who is rich
if anyone thinks i missed any thing let me know will post a down load once i have legobears aproval
The Meaning of Life, the Universe, and Everything.
Join Date:
6/7/2013
Posts:
53
Member Details
So awesome!! I'm loading it up now
I've also figured out I can just use my town for region control by making towns and assigning them to fake players - haven't technically tested it yet but i can't see why it won't work =P
hey guys as some interest has been shown first i would like to seek permission from lego to post a download on his thread
secondly i would like to let you know that the tax plugin comes as it is we may look at suggestions but as it has been designed for our server we will only apply things to it that suit our agenda we also only make the plugin available because we know it is something that mytown is missing and if more people use mytown it will get looked after better
curently the plugin can
charge tax this is set on an amount per 24hours
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
set how often to take money from the towns account (example: if tax is set at 240 per 24 hours and this is set to tax every hour 10 will be taken ever hour)
if a towns account does not have enough money it will remove the last x claims (x = number of claims it cant afford)
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)
/mytownBal: provides how much money is in your towns account
/TaxCost: provides information on how much your town is being taxed, and how many chunks are being taxed
/TownChat: toggles the Town Chat where only your town can see your messages.
if anyone thinks i missed any thing let me know will post a down load once i have legobears aproval
Cheers Dez
Think you and I need to talk. I like the ideas your throwing out there and I was working on a similar addon. From the looks of it you got more going that me. Whats say we combine my shops feature with your plugin. Also depending on how your implementing the charge on /t new, you could set it to look for a second argument. That's how I did it anyways example /t new arg2.
I've also figured out I can just use my town for region control by making towns and assigning them to fake players - haven't technically tested it yet but i can't see why it won't work =P
Yes you can do /ta new [townname] [fakeplayer]
then manage perms with /ta perm
You are freely allowed to post downloads so long as they are safe, and have to do with mytown, forgeperms, forgepermscbbridge, or aperf
For anyone doing an econ plugin for MyTown, if you want the econ features in MyTown, you are more than welcome to submit a pull request, but please leave an item based econ in place as a fallback or do a config setting.
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. If someone wants to contact iChun (or any mod dev for that matter) and see if they will add support for MyTown in their mod, feel free to do so as well. Just point them to the MyTown repo
Hopefully when things settle down a little here, I will be able to work on MyTown a little more.
dezil_nz, I added your plugin to the first post and linked to your post. I am glad to see people using MyTown for things such as this and TrenTech's econ plugin.
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
Here's a perm yml I just slapped together. I'm pretty sure it covers everything, allowing players to gain all functions of mytown, and giving admins access to the admin commands of mytown. It's untested so there may be a node or two missing. Just to clarify, in the Users group you'll see mytown.cmd.* This node gives players access to everything under mytown.cmd for example mytown.cmd.list is covered under mytown.cmd.*.
http://pastebin.com/Jjid52iw
I would also recommend watching this
Its a tutorial for the bukkit version of permissionsex so some information may be irrelevent but the configuration concept is the same and will give you a better understanding on how permissions work.
That is great to hear, we are looking forward addon to Mytown, as we are a new server and just just switched from towny to Mytown. Many of the players feel that not having a money based econ breaks the econ as the town taxes are the biggest reason to earn money. SO glad to hear that it won't corrupt chunks at least; how stable is it though? I am an admin, taking care of most of the plugins right now and I think the owner would let us test it out if it does not corrupt chunks or make the server crash.
I also second the fact that the whole perm examples, listing etc could be done alot better, maybe samples of each major perm system? I know it took me about 2 days of reading and searching to find all the perms and such, and to finally get them working.
We do have one issue with Mytown as the perms keeping "dropping out", one minute everything will be fine and all the players will have access, the next thing the players get mytown is not a recognized command, I reload the perms and they are working again.
We are running a 1.5.2 FTB pack on the latest stable MCPC+ with Group Manager, vault, and all the associated mytown mods and plugins in the correct spot( as shown that when it works it works fine). With group manager, where it had the global and group perms, does it matter which the Mytown perms are listed in, we have them in the global right now, as they should effect every player no matter world.
Another issue is that Mytown is not protecting against the portal gun mod grab feature, though it does for portal creation; the portal gun mod is specifically listed in the op as being protected against. Am I missing a config setting or town/plot perm to protect against the grab feature somewhere?
Digital Reality Private Pack - 200+ Mods, Dedi Server
I wouldnt use it on a public server yet. i realized after i wrote that message that it will miss assign shop plots in certain worlds due to the way i'm getting the dim id's. lego is helping me figure out a different solution. everything else works though. i'll also be working on adding a tax system once i sort out the details on how it will work.
Group Manager is not bad it is only the group and globalgroups that need to be configured; and really you can use just the global groups for perms if someone wanted. Group Manager just breaks everything into separate files so it is in smaller chunks and you can to exactly what you want to change easily if not using the console.
As to the perms and commands in the op, yes they are confusing. If you haven't done so google Mytown perms or such; you will find quite a few threads of people trying to get it to work. Most end up pointing to here eventulIy and still the thread goes on with people having trouble getting the perms working. In my opinion I think about the only reason more people do not use Mytown over towny, is first configuring the perms, and second the lack of money based economy tie in.
Hate to do it but here is an example of Towny's perm listing ( I wouldn't use it but it is the only really comparable plugin)
http://palmergames.com/towny/towny-permission-nodes/#Admin/Moderator_Nodes
We are only running towns and shops in the Overworld, as it seems to work there I don't think that will be an issue for now. Btw I have a test server that I test all configs and such out on first and while testing your addon I came across an issue. How does you addon tie into the economy? I see nothing in the configs to point to a database or economy plugin. I have set the prices in the config, and have the money on the test server, however it tells me "you need xxx money to buy" or such.
Btw, have you thought of combining your plugin with the tax plugin listed a page or so back? Seems if they already have a beta, it would be kind of a duplication in effort to have two tax systems or mytown economy addons when you could combine the effort and have one with maybe more features; just a thought on my part.
Digital Reality Private Pack - 200+ Mods, Dedi Server
Its hooked into vault. Ive only tested it with essentails economy so i'm assuming your economy plugin isnt hooked into vault or isnt vault supported. I wasnt aware there was already a tax plugin. i'll check it out. its probably better than anything i could write so maybe i'll talk to the dev about combining the two.
I should test more commands... yet this feels like it may be an general behaviour for all them pex commands ??
"/pex user @p group set User" Resulted in @p as a username added to group User
and
"/pex user '@p' group set User" Resulted in '@p' as a username added to group User
and
"/pex user "@p" group set User" Resulted in @p as a username added to group User
Hmm, I will have to check, we are running Vault and as we have no separate economy plugin listed on the server I assumed it was essential economy that was running. I will have to check on this with the owner.
Digital Reality Private Pack - 200+ Mods, Dedi Server
secondly i would like to let you know that the tax plugin comes as it is we may look at suggestions but as it has been designed for our server we will only apply things to it that suit our agenda we also only make the plugin available because we know it is something that mytown is missing and if more people use mytown it will get looked after better
curently the plugin can
charge tax this is set on an amount per 24hours
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
set how often to take money from the towns account (example: if tax is set at 240 per 24 hours and this is set to tax every hour 10 will be taken ever hour)
if a towns account does not have enough money it will remove the last x claims (x = number of claims it cant afford)
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)
/mytownBal: provides how much money is in your towns account
/TaxCost: provides information on how much your town is being taxed, and how many chunks are being taxed
/TownChat: toggles the Town Chat where only your town can see your messages.
/toptownbal: lets you know who is rich
if anyone thinks i missed any thing let me know will post a down load once i have legobears aproval
Cheers Dez
I've also figured out I can just use my town for region control by making towns and assigning them to fake players - haven't technically tested it yet but i can't see why it won't work =P
Think you and I need to talk. I like the ideas your throwing out there and I was working on a similar addon. From the looks of it you got more going that me. Whats say we combine my shops feature with your plugin. Also depending on how your implementing the charge on /t new, you could set it to look for a second argument. That's how I did it anyways example /t new arg2.
Yes you can do /ta new [townname] [fakeplayer]
then manage perms with /ta perm
For anyone doing an econ plugin for MyTown, if you want the econ features in MyTown, you are more than welcome to submit a pull request, but please leave an item based econ in place as a fallback or do a config setting.
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. If someone wants to contact iChun (or any mod dev for that matter) and see if they will add support for MyTown in their mod, feel free to do so as well. Just point them to the MyTown repo
Hopefully when things settle down a little here, I will be able to work on MyTown a little more.
https://www.dropbox.com/s/ih07zmgyi5to2gt/LolnetMytownTax_Version_1.0.zip
dependence's Mytown, Vault, an economy plugin, MySQL database (mytown must be using this)
all credit for this plugin go's to lolnet's development team and Primarily James137137
we welcome any feed back
this is curently running on our public server with no issues
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