AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Last Visited (https://forums.alliedmods.net/showthread.php?t=149762)

GordonFreeman (RU) 02-11-2011 07:28

Last Visited
 
1 Attachment(s)
Plugin made:
- Remembers the last time a player visits the server

Features:
- Greet messages
- Greet sounds

Type in chat:
/lastvisited or /lv for last visited info :)

Commands:
amx_lv_messages - On/Off greeting messages
amx_lv_sounds - On/Off greeting sounds

CHANGE LOG
1.1
- configuration now like cvars
- some store type (STEAMID or NAME)
- messages show after player choose his team (cstrike bug)
- bug with sounds (ah hello gordon freeman its good to see you, no more!)

1.0
- It's Plugin!
- Greet sounds
- Greet messages
- Store configuration in nVault file

Need nVault module ;)

GuTo 02-11-2011 07:34

Re: Last Visited
 
cool but when you type the command it opens a motd?
is it?
have some photos to show?
thanks

GordonFreeman (RU) 02-11-2011 07:42

Re: Last Visited
 
Quote:

Originally Posted by GuTo (Post 1412511)
cool but when you type the command it opens a motd?
is it?
have some photos to show?
thanks

No it does not open the MOTD
say /lv, it only shows the last time you were on this server ala print_chat
Or amx_lv_* commands, they only set the values in nvault file to install the plugin configuration

GordonFreeman (RU) 02-11-2011 08:05

Re: Last Visited
 
sorry for bad screen... it my cstrike :)

fezh 02-11-2011 08:28

Re: Last Visited
 
Isn't it better checking SteamID instead of name?

GordonFreeman (RU) 02-11-2011 08:34

Re: Last Visited
 
If someone wants to check on SteamID just replace the code on get_user_name to get_user_authid

Arkshine 02-11-2011 08:38

Re: Last Visited
 
Authid should be used by default. It's the most reliable way. Name can be changed easily thus your plugin can be broken easily too.

GordonFreeman (RU) 02-11-2011 09:04

Re: Last Visited
 
1 Attachment(s)
Quote:

Originally Posted by Arkshine (Post 1412545)
Authid should be used by default. It's the most reliable way. Name can be changed easily thus your plugin can be broken easily too.

OK, it changed plugin re-uploaded

But if you want authid by name version
Watch down :)

GarbageBox 02-11-2011 09:48

Re: Last Visited
 
Maybe you can make a cvar to change the mode.

GuTo 02-11-2011 10:00

Re: Last Visited
 
ooh nice thank you


All times are GMT -4. The time now is 22:45.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.