Night Messager

Discussion in 'Archived: Plugin Requests' started by Blackbirddddd, Dec 2, 2012.

  1. Offline


    I wish for a plugin which says "The corpses are rising..." when night starts, and possibly one which says "The undead are burning. You are safe for now" at Dawn.
  2. Easy, coding right now :3 ill do that for ya.

    I will need the know the name of your world for this to work.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 30, 2016
  3. Offline


    I suggest adding a config so this could be used more commonly for everyone.
  4. Offline


    It is called 'world'
  5. I
    ll just make a config file xD, well Ill try to code this as soon as I can.
  6. Offline


  7. Offline


    Why do you need to know the name of the world? Just use the following code sample to get the main world of the server.
    World world = Bukkit.getServer().getWorlds().get(0);
  8. Or:

    World world = player.getWorld().gatName();
  9. Offline


    True, that is even easier if you already have the Player object.

Share This Page