GroupNames
#1
GroupNames
I recommend using Chatter
Is a plugin that shows the group the player is in in each chat message.    


Attached Files
.zip   GroupNames.zip (Size: 637 bytes / Downloads: 408)
Reply
Thanks given by:
#2
Does it work with multiple groups? What if a user is in 10 groups, does it have a limit or does it spam the chat with all of them?
Reply
Thanks given by:
#3
it just makes a list ( Group = Player:GetGroups() ) and then it uses Group[1]. Also i don't realy see a reason why you would want a player with multiple groups ;P
Reply
Thanks given by:
#4
What if you dont want your moderators to have vip ?
But one does buy? the rank ? Smile.
Reply
Thanks given by:
#5
(05-18-2013, 10:36 PM)ThuGie Wrote: What if you dont want your moderators to have vip ?
But one does buy? the rank ? Smile.

I don't get it ;(
Reply
Thanks given by:
#6
(05-18-2013, 10:23 PM)STR_Warrior Wrote: it just makes a list ( Group = Player:GetGroups() ) and then it uses Group[1]. Also i don't realy see a reason why you would want a player with multiple groups ;P

There might be no reason, but there's a way to do it, so you have to count on it.
I'm not sure now if every player is a member of a group by default, isn't there a case when a player may be a member of zero groups? Your code would fail, then.

For what I know, you might want to have groups "Woodcutters" who are allowed to cut down trees, "Miners" who can dig dirt, stone and ores, and "Builders", who can build stuff (in a limited area, for example a town); and the players would buy membership in the groups. Then it makes perfect sense for a player to be in multiple groups.
Reply
Thanks given by:
#7
I removed my name from the users.ini and it still works, so i think a player always gets assigned to a group.
Reply
Thanks given by:
#8
(05-18-2013, 10:52 PM)xoft Wrote: For what I know, you might want to have groups "Woodcutters" who are allowed to cut down trees, "Miners" who can dig dirt, stone and ores, and "Builders", who can build stuff (in a limited area, for example a town); and the players would buy membership in the groups. Then it makes perfect sense for a player to be in multiple groups.

then i guess that the first group you enter will be the one that is shown Wink
Reply
Thanks given by:
#9
Question 
(05-18-2013, 10:18 PM)STR_Warrior Wrote: GroupNames
Is a plugin that shows the group the player is in in each chat message.

I cant get it to work, then again my server refuses anybody to get on...idk i tried altering the settings several times...nothing seems to work...help anyone? plz
Reply
Thanks given by:
#10
It was outdated but It should work fine again. About the server refusing to get on: Do you get an error? Also I've just noticed when you do a restart the server stops accepting new players. I'll post it in github.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)