KeyboardCavemen submitted a new resource:
Minimum Playtime Checker - Check if a player has enough time played on connect
Read more about this resource...
Minimum Playtime Checker [Replaced]
Discussion in 'Plugin Support' started by KeyboardCavemen, Jul 5, 2015.
-
Getting the error
[Oxide] 12:32 AM [Error] Plugin filename is incorrect: MinimumPlaytime.cs (shoul
d be MinumumPlaytime.cs)
[Oxide] 12:32 AM [Error] Plugin failed to compile: MinimumPlaytime (leaving prev
ious version loaded)
I renamed it to the incorrect spelling and it worked. So far working great! -
Excelent idea. You had a great idea here. I approve this.
-
KeyboardCavemen updated Minimum Playtime Checker with a new update entry:
Fixed some naming issues.
-
This should help fight off those hackers/abusers.
As we'll likely have people request we add this to our system, we do not allow direct editing of plugins do you think you could consider a config for the api key and play time? -
-
KeyboardCavemen updated Minimum Playtime Checker with a new update entry:
Added configuration file.
-
Like a baws, we've added this to our system!
-
-
Hi,
My server stays in a private machine. So the "domain name" asked by Steam won't have nothing to do with the server itself.
I'm not sure if that was the cause, but I got a lot of connection errors to steam while trying to use your plugin. I did created the API and placed it accordingly. -
-
Great, it's been rejecting clients all day. :/ Grrrr..... API key was installed in config and reset.
Code:75.172.XXXXXX62153/765611979XXXXXXX/Peoncrusher Rejecting connection - MinimumPlaytime failed to load your Rust playtime. 75.172.xXXXXXX:62153/765611979XXXXXX/Peoncrusher kicked: MinimumPlaytime failed to load your Rust playtime. 75.172.XXXXXXX:62153/7656119797XXXXXX/Peoncrusher Rejecting connection - Steam Auth Timeout 75.172.XXXXXX:62153/765611979XXXXXXX/Peoncrusher kicked: Steam Auth Timeout
-
Could you maybe supply me a log of your server (preferably filtered, like your above log)? That would help significantly investigating these kind of issues. Basically the info I need is:
-For how long has the mod runned on your server?
-How many players have been rejected during this time (If you could provide the player's steam ID, that'd be great, then I could, if not private, check their steam profile to find possible clue's to this issue with the Steam API)
-What was the reason he was rejected?
For privacy reasons I suggest you e-mail the log rather than posting it here. Our e-mail adress: [email protected]
[DOUBLEPOST=1436181107,1436163111][/DOUBLEPOST] -
Hi,
I just downloaded and installed the plugin, and I'm getting the following error:
[Oxide] 10:21 AM [Error] Error while compiling MinimumPlaytime.cs(11,22): error CS1519: Unexpected s
ymbol `10' in class, struct, or interface member declaration
xxxxxxxxxxxxxxxxxxxxxxxx
FORGET IT... Lol.
My bad, I was editing the wrong file. Sorry. Now it seems to be working. Thanks.
Just a tip: There could a line at the config, where you could translate the message.Last edited by a moderator: Jul 6, 2015 -
-
Hi there,
I'm getting the following messages:
189.4.176.169:50763/7656119807......08/F4F | Lilian Rejecting connection - MinimumPlaytime failed to
load your Rust playtime.
Fact is: The profile is private. So the plugin cannot read the information.
I guess there isn't a way to circumvent this BUT, you could add a message telling people that they have to make their steam profile public, something like it:
"This server only allows Steam Players with Public Profile to enter. Your Profile is set to PRIVATE. Please, change your Steam Account to Public and come back."Last edited by a moderator: Jul 6, 2015 -
Thanks again for reporting and I'll post an updated version soon.
EDIT: I just confirmed that the error is caused by private profiles. Changed the error message as you suggested.Last edited by a moderator: Jul 6, 2015 -
KeyboardCavemen updated Minimum Playtime Checker with a new update entry:
Fixed issue with private profiles & more!
-
KeyboardCavemen updated Minimum Playtime Checker with a new update entry:
Added another customizable error message
-
OK, working like a champ now