Problem MCPC+ and MyTown mod

mainsheep

New Member
Jul 29, 2019
14
0
0
I have been trying to run MCPC+ and MyTown mod, but I cannot get the permission system to work.

I've installed PermissionsEx that MyTown demands, aswell as Modifyworld. I've added my group '*' permission, but every command i try to execute return a "no permission to do this command" error.
If I OP myself, I'm able to run commands. I'm running a functioning server with PermissionsEx as the permission plugin, so I'm quite confident this isn't a permission setup error in my permissions file.

Has anyone gotten this to work? If so, can tell me which direction to troubleshoot this? I'm thinking that MyTown doesn't listen to the /config/permissions.yml file as PermissionsEx mod uses.
 

mmorton89

New Member
Jul 29, 2019
45
0
0
Which version of permissionsex are you using? The ported one that is on the mytown page or the regular plugin one from bukkit.org?

edit - also what permissions plugin are you using for MCPC+?
 

mainsheep

New Member
Jul 29, 2019
14
0
0
I am using the PermissionsEx version that was on the MyTown page.

When running MCPC+, I'm using the latest version from Bukkitdev.
 

Skynet1514

New Member
Jul 29, 2019
2
0
0
I too am having the same problem. Some more details I can add.

I use Bperms as well and tired importing the permissions from Mytown into bperms under the presumption that because Mytown PEX is a forge based PEX system and mcpc + is forge ported for craftbukkit I assumed the permission no longer hooked into MCPC +. This however didn't work.

What does seem to work is giving a player OP will allow them to use the permissions.

One of the other things I've tired is turning on the Debug mod in PEX(forge) for users, no output. The only people that produce output are people are people that have been opped or any Chat permissions...

So example if you do /pex user XXXX toggle Debug and then try
/mytown spawn or /mytown it does not display "user checked for "mytown.*" or anything like that.
Op them in, and it does.
deop them ask them to try typeing in chat... it will say "user check for "mytown.emcd.chat.*" or somthing like that.
 

Baron

New Member
Jul 29, 2019
59
0
0
Same. I gotten Mytown to work for myself since I'm op but none of the regular players are able to use it.
 

mainsheep

New Member
Jul 29, 2019
14
0
0
I've noticed that MCPC+ states that they dont support MyTown at all, but I've read some users have been able to get it working. They havent posted a solution to how they managed to get it to work tho, so I'm still trying to figure this out.

Anyone else with some insight on how to get this to work? I've been trying with the PermissionsEx from MyTown page aswell as the PermissionsEx from bukkitdev. I've even tried with both installed, and still there is a permission problem where only OP is able to do stuff.
 

Dezil_nz

New Member
Jul 29, 2019
118
0
1
here you go do your perms in the pex that is required by my town and then use these nodes in your permission system on the bukkit side

command mytown with permission node ee.lutsu.alpha.mc.mytown.commands.CmdMyTown

command mytownadm with permission node ee.lutsu.alpha.mc.mytown.commands.CmdMyTownAdmin

command ch with permission node ee.lutsu.alpha.mc.mytown.commands.CmdChannel

command spawn with permission node ee.lutsu.alpha.mc.mytown.commands.CmdSpawn

command tp with permission node ee.lutsu.alpha.mc.mytown.commands.CmdTeleport

command setspawn with permission node ee.lutsu.alpha.mc.mytown.commands.CmdSetSpawn

command online with permission node ee.lutsu.alpha.mc.mytown.commands.CmdOnline

command me with permission node ee.lutsu.alpha.mc.mytown.commands.CmdEmote

command tell with permission node ee.lutsu.alpha.mc.mytown.commands.CmdPrivateMsg

command reply with permission node ee.lutsu.alpha.mc.mytown.commands.CmdReplyPrivateMsg

command g tc nc l tr or h with permission node ee.lutsu.alpha.mc.mytown.commands.CmdChat

big thanks to MomoNasty for posting these



ps if anyone can get the /t abbreviation to work let me know typing mytown is driving me crazy
 
  • Like
Reactions: agaricus

xverion

New Member
Jul 29, 2019
4
0
0
Would you be so kind and explain it a bit more on how to get this to work with mcpc. If you could make a step by step guide that would be amazing.
 

Drehmini

New Member
Jul 29, 2019
1
0
0
Would you be so kind and explain it a bit more on how to get this to work with mcpc. If you could make a step by step guide that would be amazing.

You need to add those commands in the permissions.yml file in the root directory of the server.

Here is how I did mine
Code:
server.basics
      default: true
      children:
          ee.lutsu.alpha.mc.mytown.commands.CmdMyTown: true
          ee.lutsu.alpha.mc.mytown.commands.CmdChannel: true
 

tiff

New Member
Jul 29, 2019
164
0
0
This doesn't seem to work. Did anyone else following these examples and get it working?
 

Tribes

New Member
Jul 29, 2019
2
0
0
Okay after a lot of research and of error by trial i have succeed in install the two in the same time.
The only downside is that /mytownlist doesn't work .

Here are my configuration.files

for /config/permissions.yml
Code:
groups:
  default:
    default: true
    permissions:
    - -mytown.chat.allowcaps
    - -mytown.chat.focus.help
    - -mytown.cmd.(plot|spawn.*)
    - -mytown.cmd.perm.(set|force).*.(closeclaim|yon|yfrom|yto)
    - mytown.mayor.blocks.(8)
    - mytown.resident.blocksmulti.(2)
    - mytown.cmd(|.*|)
    - mytown.chat.*
    - mytown.com.spawn.other
    - mytown.adm.bypass.teleportwait
  moderators:
    inheritance:
    - default
    permissions:
    - mytown.com.spawn.other
    - mytown.adm.bypass.teleportwait
    prefix: $a[MOD]$f
  admins:
    inheritance:
    - moderators
    permissions:
    - mytown.*
    - mytown.adm.*
    prefix: $a[ADMIN]$f'
users:
  [YOURADMINNAME]:
    group:
    - admins
Remplace [YOURADMINNAME] in users by the name of the admin

For mcpc i use Bpermissions

and i have manually ingame add the permission node to the default group
with this [step by step]
Code:
/world world
/group default
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdChannel
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdSpawn
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdTeleport
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdSetSpawn
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdOnline
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdEmote
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdPrivateMsg
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdReplyPrivateMsg
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdChat

change /group default by /group [GROUPDEFAULTNAME] if default is not your default group name.
I have triet to edit the bpermissions files with a text editor but this doesnt seem to work

I hope this help the admin that have look all over the internet to find this , lose a little less time than me

ps: Excuse the spelling mistake. English is not my native speech
 

TrueWhiteNinja

New Member
Jul 29, 2019
2
0
0
I am using MCPC+ and group manager. I was able to get mytown to work with the following steps.
I created a g:mytown_default group in the \plugins\GroupManager\globalgroups.yml. Then added that to the default user group in the \plugins\GroupManager\worlds\world\groups.yml. See code attached for permissions.

Code:
  g:mytown_default:
    permissions:
    - ee.lutsu.alpha.mc.mytown.commands.CmdMyTown
    - ee.lutsu.alpha.mc.mytown.commands.CmdChannel
    - ee.lutsu.alpha.mc.mytown.commands.CmdSpawn
    - ee.lutsu.alpha.mc.mytown.commands.CmdTeleport
    - ee.lutsu.alpha.mc.mytown.commands.CmdSetSpawn
    - ee.lutsu.alpha.mc.mytown.commands.CmdOnline
    - ee.lutsu.alpha.mc.mytown.commands.CmdEmote
    - ee.lutsu.alpha.mc.mytown.commands.CmdPrivateMsg
    - ee.lutsu.alpha.mc.mytown.commands.CmdReplyPrivateMsg
    - ee.lutsu.alpha.mc.mytown.commands.CmdHome
    - ee.lutsu.alpha.mc.mytown.commands.CmdSetHome
    - ee.lutsu.alpha.mc.mytown.commands.CmdDelHome
    - ee.lutsu.alpha.mc.mytown.commands.CmdChat
    - mytown.chat.focus.<channel>
    - mytown.chat.allowcaps
    - mytown.chat.allowcolors
    - mytown.ecmd.spawn
    - mytown.adm.bypass.teleportwait
    - mytown.ecmd.online
    - mytown.ecmd.msg
    - mytown.ecmd.reply
    - mytown.ecmd.homes
    - mytown.ecmd.home
    - mytown.ecmd.sethome
    - mytown.ecmd.sethome.replace
    - mytown.ecmd.delhome
    - mytown.cmd
    - mytown.cmd.map
    - mytown.cmd.list
    - mytown.cmd.info
    - mytown.cmd.res
    - mytown.cmd.friend
    - mytown.cmd.spawn.own
    - mytown.cmd.new.dim0
    - mytown.cmd.accept
    - mytown.cmd.deny
    - mytown.cmd.leave
    - mytown.cmd.online
    - mytown.cmd.perm.show.*
    - mytown.cmd.perm.set.*
    - mytown.cmd.perm.force.*
    - mytown.cmd.claim.dim0
    - mytown.cmd.unclaim
    - mytown.cmd.invite
    - mytown.cmd.kick
    - mytown.cmd.setspawn
    - mytown.cmd.plot
    - mytown.cmd.plot.reassign
    - mytown.cmd.plot.unassign
    - mytown.cmd.assistant
    - mytown.cmd.mayor
    - mytown.cmd.rename
    - mytown.cmd.delete
    - mytown.cmd.nationinfo
    - mytown.cmd.nationlist
    - mytown.cmd.nationnew
    - mytown.cmd.nationaccept
    - mytown.cmd.nationdeny
    - mytown.cmd.nationinvite
    - mytown.cmd.nationkick
    - mytown.cmd.nationtransfer
    - mytown.cmd.nationdelete
    - mytown.cmd.nationleave
    - mytown.mayor.blocks.8
    - mytown.resident.blocksmulti.1
 

sumbrawd

New Member
Jul 29, 2019
4
0
0
Okay after a lot of research and of error by trial i have succeed in install the two in the same time.
The only downside is that /mytownlist doesn't work .

Here are my configuration.files

for /config/permissions.yml
Code:
groups:
  default:
    default: true
    permissions:
    - -mytown.chat.allowcaps
    - -mytown.chat.focus.help
    - -mytown.cmd.(plot|spawn.*)
    - -mytown.cmd.perm.(set|force).*.(closeclaim|yon|yfrom|yto)
    - mytown.mayor.blocks.(8)
    - mytown.resident.blocksmulti.(2)
    - mytown.cmd(|.*|)
    - mytown.chat.*
    - mytown.com.spawn.other
    - mytown.adm.bypass.teleportwait
  moderators:
    inheritance:
    - default
    permissions:
    - mytown.com.spawn.other
    - mytown.adm.bypass.teleportwait
    prefix: $a[MOD]$f
  admins:
    inheritance:
    - moderators
    permissions:
    - mytown.*
    - mytown.adm.*
    prefix: $a[ADMIN]$f'
users:
  [YOURADMINNAME]:
    group:
    - admins
Remplace [YOURADMINNAME] in users by the name of the admin

For mcpc i use Bpermissions

and i have manually ingame add the permission node to the default group
with this [step by step]
Code:
/world world
/group default
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdChannel
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdSpawn
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdTeleport
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdSetSpawn
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdOnline
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdEmote
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdPrivateMsg
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdReplyPrivateMsg
/group addperm ee.lutsu.alpha.mc.mytown.commands.CmdChat

change /group default by /group [GROUPDEFAULTNAME] if default is not your default group name.
I have triet to edit the bpermissions files with a text editor but this doesnt seem to work

I hope this help the admin that have look all over the internet to find this , lose a little less time than me

ps: Excuse the spelling mistake. English is not my native speech
Thank you so much for posting this, everything works great now :D