Innectis Community Forum

Author Topic: Lot Welcome/Leaving Message Flag  (Read 3679 times)

StarScythe7

  • Retired Staff
  • Hero Member
  • *****
  • Posts: 624
  • Gender: Male
    • View Profile
Lot Welcome/Leaving Message Flag
« on: July 19, 2011, 11:31:43 PM »
I'm Suggesting we have a Flag that adds a message to lots for when a player Leaves/Enters lot. And by Default the message could be "Entered Lot #XXX"/"Leaving Lot #XXX", Also add the option to change the Leaving/Enter messages.

I'm Suggesting this flag mainly because it might be a good way for VIPs (or higher) who are mining underground to know when they've left their lot.
« Last Edit: July 19, 2011, 11:35:21 PM by StarScythe7 »
  • StarScythe7
    StarScythe7
    StarScythe7

Nosliw

  • Retired Staff
  • Rainbow Member
  • *****
  • Posts: 1722
  • Gender: Male
  • You can't hurt me, I'm a Jelly Fish..
    • View Profile
    • Uber Island
Lot Welcome/Leaving Message Flag
« Reply #1 on: July 20, 2011, 02:30:35 AM »
I would prefer it to be an option that the someone selects, i.e. they say /lotwarnings on and they will get a message every time they leave or enter a lot, and to turn it off, they could do /lotwarnings off. However if this method was used, it would be easier if it said [IDP] You have entered [USERNAME]'s lot ([LOTID]).
  • Nosliw
    Nosliw
    Nosliw
I'm here to help.. With the following exception:



@EventHandler(priority = EventPriority.LOW)
public void onPlayerJoin(PlayerJoinEvent event) {
    Player player = event.getPlayer();
    if (player.getName().equals("SGT_ADZ") {
        player.kickPlayer("Yeah... Nah!");
        return;
    }
}

Lynxy

  • IDP Developer
  • Retired Staff
  • Sr. Member
  • *****
  • Posts: 423
    • View Profile
Lot Welcome/Leaving Message Flag
« Reply #2 on: July 20, 2011, 09:16:37 AM »
Wow both those are very good ideas, I like them. But which to implement! Perhaps both. But how would that work... what if you have /lotwarnings on and the lot also contains a welcome message
  • The_Lynxy
    The_Lynxy
    The_Lynxy

Lynxy

  • IDP Developer
  • Retired Staff
  • Sr. Member
  • *****
  • Posts: 423
    • View Profile
Lot Welcome/Leaving Message Flag
« Reply #3 on: July 20, 2011, 11:36:37 AM »
I have implemented this (welcome & exit messages). As far as lot warnings go, if the only use would be to see when you go outside your lot, then just set the ExitMsg flag :)
  • The_Lynxy
    The_Lynxy
    The_Lynxy

StarScythe7

  • Retired Staff
  • Hero Member
  • *****
  • Posts: 624
  • Gender: Male
    • View Profile
Lot Welcome/Leaving Message Flag
« Reply #4 on: July 21, 2011, 12:42:26 AM »
Quote from: Lynxy;439
I have implemented this (welcome & exit messages). As far as lot warnings go, if the only use would be to see when you go outside your lot, then just set the ExitMsg flag :)

Do you mean it's already active on the server now o.O? or will it be in the next server update? And I'm glad my suggestion was used :)

And also, did you add a lot Enter message?
« Last Edit: July 21, 2011, 12:47:00 AM by StarScythe7 »
  • StarScythe7
    StarScythe7
    StarScythe7

Lynxy

  • IDP Developer
  • Retired Staff
  • Sr. Member
  • *****
  • Posts: 423
    • View Profile
Lot Welcome/Leaving Message Flag
« Reply #5 on: July 21, 2011, 09:18:27 AM »
Next update
  • The_Lynxy
    The_Lynxy
    The_Lynxy

Nosliw

  • Retired Staff
  • Rainbow Member
  • *****
  • Posts: 1722
  • Gender: Male
  • You can't hurt me, I'm a Jelly Fish..
    • View Profile
    • Uber Island
Lot Welcome/Leaving Message Flag
« Reply #6 on: July 21, 2011, 09:23:07 AM »
Quote from: Lynxy;442
Next update

When is the next update? And it seems to be a big one :P
  • Nosliw
    Nosliw
    Nosliw
I'm here to help.. With the following exception:



@EventHandler(priority = EventPriority.LOW)
public void onPlayerJoin(PlayerJoinEvent event) {
    Player player = event.getPlayer();
    if (player.getName().equals("SGT_ADZ") {
        player.kickPlayer("Yeah... Nah!");
        return;
    }
}

Hretsam

  • Former Owner
  • Retired Staff
  • Hero Member
  • *****
  • Posts: 550
    • View Profile
Lot Welcome/Leaving Message Flag
« Reply #7 on: July 25, 2011, 05:07:28 PM »
When i get to finish my code, hopefully somewhere this week.
  • Hretsam
    Hretsam
    Hretsam