/tp <player> [<target>] - Teleports you to player or teleports target to player.
/tp <x> <y> <z> [<world>] [<target>] - Teleports you to the specified coordinates. Supports other worlds as well as teleporting different people. Almost the same as /tppos
another note: essentialcmds.home.* is a wildcard. there’s no need to use it, as PEX supports using essentialcmds.home instead. It will include all subcommands. You don’t need to set the other 4 perms either, as they’re included anyways
So basically the 5 permissions i showed above boil down to this:
“essentialcmds.home”:1,
PS: using inheritance (basing one group on the other) would boil down your permissions file even further…
Hi
Very well done plugin
I have a suggestion, could you make it so the plugin supports colouring of names? (Possibly make it tie into PEX)
And also in the config file under message you can’t use the @p under “# Message sent to a player when they join the server.” Would be awesome if you could greet the player by their name every time they log in
What’s wrong with this?
When the player first join in the server, the consolo show these errors:
[18:47:38] [Server thread/INFO] [FML/]: [Server thread] Server side modded connection established
[18:47:38] [Server thread/DEBUG] [mixin/]: Mixing text.MixinClickEvent from mixins.common.core.json into net.minecraft.event.ClickEvent
[18:47:38] [Server thread/TRACE] [mixin/]: Added class metadata for org/spongepowered/common/interfaces/text/IMixinClickEvent to metadata cache
[18:47:38] [Server thread/ERROR] [Sponge/]: Could not pass PlayerLoggedInEvent to Plugin{id=EssentialCmds, name=EssentialCmds, version=7.4b-1a795cc}
java.lang.NullPointerException: The location was null!
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229) ~[minecraft_server.1.8.9.jar:?]
at net.minecraft.entity.Entity.setLocation(Entity.java:324) ~[pk.class:?]
at net.minecraft.entity.Entity.setLocation(Entity.java:297) ~[pk.class:?]
at io.github.hsyyid.essentialcmds.listeners.PlayerJoinListener.onPlayerJoin(PlayerJoinListener.java:66) ~[PlayerJoinListener.class:7.4b]
at org.spongepowered.common.event.listener.JoinListener_PlayerJoinListener_onPlayerJoin11.handle(Unknown Source) ~[?:?]
at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:86) ~[RegisteredListener.class:1.8.9-1722-3.1.0-BETA-1136]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:236) [SpongeModEventManager.class:1.8.9-1722-3.1.0-BETA-1136]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:196) [SpongeModEventManager.class:1.8.9-1722-3.1.0-BETA-1136]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:276) [SpongeModEventManager.class:1.8.9-1722-3.1.0-BETA-1136]
at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:248) [SpongeModEventManager.class:1.8.9-1722-3.1.0-BETA-1136]
at org.spongepowered.common.SpongeImpl.postEvent(SpongeImpl.java:127) [SpongeImpl.class:1.8.9-1722-3.1.0-BETA-1136]
at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:326) [lx.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:239) [NetworkDispatcher.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:54) [NetworkDispatcher.class:?]
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:190) [NetworkDispatcher$1.class:?]
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:289) [ek.class:?]
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:189) [ll.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:724) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:344) [ko.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:605) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:481) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_74]
I’m chinese, so my language is zh_CN……
This is my config:
> afk {
> kick {
> # Sets the amount of time until a player is kicked for being AFK.
> timer=300000
> # When enabled, it enables the kicking of players who are AFK.
> use=true
> }
> # The length of time in millisec until a player is AFK.
> timer=300000
> }
> chat {
> # When set, changes the first character in chat from ‘<’.
> firstcharacter=“<”
> # When set, changes the character after the player name from ‘>’.
> lastcharacter=“>”
> }
> message {
> # Message sent to everyone when a player disconnects.
> disconnect=“&a@p&7离开了”
> # Message when a player first joins the server.
> firstjoin=“”
> # Message sent to a player when they join the server.
> join=“Test\nTe#st2”
> # Message sent to everyone when a player joins.
> login=“&a欢迎&f@p&a加入”
> }
> MySQL Options for EssentialCmds.
> mysql {
> # Name of MySQL Database.
> database=EssentialCmds
> # Address of MySQL Database.
> host=localhost
> # Password for MySQL Database.
> password=pass
> # Port of MySQL Database.
> port=“8080”
> # Enables/Disables MySQL usage for EssentialCmds.
> use=false
> # Username for MySQL Database.
> username=root
> }
> teleport {
> cooldown {
> # Toggles the cooldocion for teleports.
> enabled=false
> # The length of time in seconds until a player teleports.
> timer=10
> }
> }
Is there anything wrong? Thanks~~:slightly_smiling:
Hassan,
is it possible to manage the prefixes of players when they are in different groups?
Currently ran into the issue that i belong to two groups and it doesn’t take the prefix of the group with the most rights, but the prefix of the group which is listed first in the perms file. zml pointed in your direction…
Added the ability to specify player’s name color using a permissions plugin. You must set the option namecolor to a color. For example, to set a player or group’s name color to blue, use /pex group <group> option namecolor blue
once again, http://pastebin.com/UWwqxaiH I am having a problem. i cannot seem to give players permissions to use warps such as “wild1” and “wild2”, i gave them permissions such as (“essentialcmds.warp.use”: 1,) and ( “essentialcmds.warp.use.wild1”: 1 ) please help and tell me what i’m doing wrong.
as the reply above states right now the perm for it is essentialcmds.warp.wild1 in your case so the proper format for the future would be essentialcmds.warp.[warp name]