rename tabnames to nametags

I think it's a more descriptive name
This commit is contained in:
jomo
2016-02-15 01:27:13 +01:00
parent 5a0477fdbf
commit 6a4d1447ec
2 changed files with 4 additions and 5 deletions

View File

@@ -102,8 +102,8 @@ shared["load_modules"] = [
#"iptracker",
#server signs for everyone
"serversigns",
# tabnames module to make players names colored on their chars and sort tab after ranks
"tabnames"
# Makes player's names colored, sorts tab list by rank
"nametags"
]
shared["modules"] = {}
for module in shared["load_modules"]:

View File

@@ -1,7 +1,5 @@
from helpers import *
tabnames_version = "v1.0.0"
##############################################################
# #
# This module automatically puts people in the corresponding #
@@ -11,6 +9,7 @@ tabnames_version = "v1.0.0"
##############################################################
ranks = ["visitor", "member", "builder", "trusted", "modintraining", "mod", "admin"]
# prefixes are used for sorting in the tab list
prefixes = {"admin":"a", "mod":"b", "modintraining":"c", "trusted":"d", "builder":"e", "member":"f","visitor":"g"}
@hook.event("player.PlayerJoinEvent", "low")