CompassModes
Adds per world, per user, highly configurable compass mechanics.
[Features]
- Users can choose which compass mode they would like to use.
- Server owners can set default modes for different maps.
- You can choose to override user preference in the config for specific maps.
[Modes]
- Default (Sets the compass back to the world spawn)
- Current (Sets it to your current X,Z location)
- X,Z (Sets it to a specific X,Z location)
- Near (Compass tracks the closest player)
- <Player> (Compass tracks a specific player)
- Random (Compass acts like it is in the nether)
- Death (Points to where you died last)
- Bed (points to your bed location)
- Home:<Name> (Points to your essentials home)
- n/e/s/w
[Commands]
- /compass help
- /compass list
- /compass reload
- /compass <mode>
- /compass <mode> <player>
[Permissions]
- compassmodes.near
- compassmodes.random
- compassmodes.current
- compassmodes.location (To set a specific X,Z location)
- compassmodes.default
- compassmodes.player
- compassmodes.deathpoint
- compassmodes.bed
- compassmodes.other (To change other player's mode)
- compass.reload
[Configuration]
range - how far you can track a player using /compass near
give-compass-on-respawn (true or false)
keep-existing-compass (true or false)
force-compass-slot - Either a inventory slot (0-9) or false.
will this be updated for 1.9?
@Empire92
Can we add placeholders for the displayname, name, distance, etc? (The distance will change in the hotbar or lore when they move closer or further by 1 block.
Also please add a lore to the compass please.
Can you add a "follow request" mode? Similar to /tpa ?
/compass north Actually makes compass point south, and vice versa...
Will fan of this author that I can plugins it?
Is it possible to have compasses behaving differently, per item? So one compass would point you to the spawn point, while the other would point to the death location. That way I can use custom compasses as a valuable loot in hidden chests for my other non-op players. Is it possible?
Also, the hotbar message appears to be only visible to those who are either OPs or have a certain permission node, which is not listed here on the main page.
Edit: the permission node is "compassmodes.info" after taking a peek inside the .java file...
Setting hotbar-message to false (which is default) actually sets the hotbar message to "false". Attempts to remove the YML entry, or comment it out are reverted. However, setting it blank (i.e. '') does indeed disable this feature.
Thanks for pointing this out, it should be fixed in the next upload.
Version 0.3.6 doesn't work on my server, after enabling compass on respawn I do not spawn with one, and after giving my default group the compassmodes.deathpoint permission the plugin returns "you have not died recently" when ever they use it, even straight after a death. Gone back to v0.3.4 as this works 100% the way it should.
@Sharopee
Yes, using this plugin: http://dev.bukkit.org/bukkit-plugins/custom-join-items/
Is there a way the compass to be spawn only at HungerGames Arenas and be undropable?
Sry for bad eanglish
@CyberGod101 Sure.
Hi,
would it be possible to add a staff permission node so they cant be tracked?
ATM vanished staff can be tracked, that is not to ideal as when following vanished players to check for xray they can detect the vanished staffmember.
Greets
CyberGod
@DarthRiddle Is this only at startup?
Even though this works, Im using CB 17.10 and get this error in the consloe
24.08 18:57:57 [Server] INFO at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:189) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:282) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:326) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:352) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:389) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:455) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [craftbukkit-1.7.10-R0.1.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] 24.08 18:57:57 [Server] INFO at io.github.boy0001.plugin.CompassModes.onEnable(CompassModes.java:283) [?:?] 24.08 18:57:57 [Server] INFO java.lang.NullPointerException 24.08 18:57:57 [Server] ERROR Error occurred while enabling CompassModes v0.3.6 (Is it up to date?) 24.08 18:57:57 [Server] INFO Enabling CompassModes v0.3.6
[v0.3.6]
(loads of placeholders + color support + permission node)
(You can still omit the Y value)
^ It will be approved by bukkit soon.
@Empire92
Thank you! I'm using CompassModes in a huge server project, and this feature will be very cool and helpful for my players.
Greetings from Italy!
@Benno812
That's a good idea, I'll add it at some point.
Suggestion: when Location mode is activated, the compass tooltip shows how many blocks are left (x,y and z) to the chosen location, and wich pitch the player must follow.