Innectis Community Forum

Author Topic: Partial Name Upgrade  (Read 2826 times)

Nosliw

  • Retired Staff
  • Rainbow Member
  • *****
  • Posts: 1722
  • Gender: Male
  • You can't hurt me, I'm a Jelly Fish..
    • View Profile
    • Uber Island
Partial Name Upgrade
« on: December 04, 2011, 08:59:42 AM »
As we all know, with most commands, you can do Partial Names (i.e. /gotolot Nos instead of /gotolot Nosliw), however the partial names only include the start of the names, I suggest that it be changed to search the whole name (i.e /gotolot Lynxy instead of /gotolot The_Lynxy).

I am unsure if this will cause any problems however it seems to be a good improvement to make ^^
  • 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;
    }
}

Eggnaug

  • Solaire of Astora
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2306
  • Gender: Male
  • Warrior of Sunlight
    • View Profile
Partial Name Upgrade
« Reply #1 on: December 04, 2011, 08:31:36 PM »
I like this idea. It gets annoying when trying to go to either theyoungster1, thejudged, or the_lynxy's lots because they all start with the


this should also be added to /tp and /tpr
« Last Edit: December 04, 2011, 09:06:00 PM by Eggnaug »
  • Eggnaug
    Eggnaug
    Eggnaug
Praise the Sun!

Vector

  • Owner
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2153
  • Gender: Male
  • I am the exception, not the rule
    • View Profile
    • Code Speak
Partial Name Upgrade
« Reply #2 on: December 04, 2011, 10:36:57 PM »
I like that idea. Whenever we get to it, we can add that in.
  • AlphaBlend
    AlphaBlend
    AlphaBlend
I like to make things. That pretty much describes the kind of person I am.