Magic

Magic

190k Downloads

Recall problems

khodgson2001 opened this issue · 10 comments

commented

I have created multiple warps (commandbook warps) on my server, and when i try and cast "Recall" The particle effects happen, but no UI appears so i can select a warp :/

commented

Recall doesn't automatically know about your warps- you need to configure it by adding a "warps" parameter list. See here for an example:

https://github.com/elBukkit/MagicPlugin/blob/master/Magic/src/examples/elworld/spells.yml#L72

commented

Ok, so do i replace:
warps:
[warp from CommandBook]:
name: [Own Name]
description: [own description]
server: [worldname]
locked: true
icon: compass

commented

That's right. More specifically, you'd add something like this to your spells.yml (or to spells/recall.yml [you have to create this file], whichever you prefer)

recall:
  parameters:
    warps:
      yourcommandbookwarp:
        name: Somewhere cool
        description: This will show in the tooltip
        icon: compass

If you put "locked: true" on a warp that means the player won't see it until it's unlocked. I normally use this with WGRegionCommands, having a region issue the command "/castp @p warpunlock unlock yourcommandbookwarp". In this way the players can collect Recall waypoints as they explore.

commented

OK thanks Nathan! Whilst I'm here, can you recommend a good group/permissions plugin? (Preferably one that accepts wildcards such as '*' ?

commented

I've only really ever used PEX and EGM myself. Been pretty happy with PEX, except for how it handles priorities on inherited groups.

commented

What icons are accepted? (is it any in the minecraft block list? [e.g. cobblestone])

commented

Anything from this list, or a variant thereof:

https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html

Meaning you can use custom item models from an RP. You can also use player skull textures, like this:

mywarp:
  name: Some warp
  icon_url: http://textures.minecraft.net/texture/862a3ecb44ccf65458b5413a909cd68bb76cef8d397827eaace2d59635b9943
commented

Another question, does recall work with essentials warps?

commented

Yes, CommandBook or Essentials.

On Oct 27, 2016, at 1:22 PM, iKezzaUK [email protected] wrote:

Another question, does recall work with essentials warps?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub #162 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AAf3uO-1VIGI-SWCVRQZ-uYOoZCrqWnTks5q4QgOgaJpZM4KhMEn.

commented

OK thanks