Shine Admin Mod?
ScardyBob
ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
It looks like a fully built admin mod: https://github.com/Person8880/Shine/wiki
Also has a Steam Workshop page: http://steamcommunity.com/sharedfiles/filedetails/?id=117887554
Anyone have any more details on it? I can't seem to find anything on these forums about it (ninja admin mod?)
Edit: For anyone perusing this thread, the mod is made by @PERSON8880, not me. You should direct any specific questions to him.
Also has a Steam Workshop page: http://steamcommunity.com/sharedfiles/filedetails/?id=117887554
Anyone have any more details on it? I can't seem to find anything on these forums about it (ninja admin mod?)
Edit: For anyone perusing this thread, the mod is made by @PERSON8880, not me. You should direct any specific questions to him.
Comments
Definitely a well made admin mod.
The creator (person8880) is also very helpful, in case you have any questions about modding / writing plugins.
Developer is quick to reply to questions and requests also, amazing stuff.
I only found out about it because someone in the OAG TS mentioned it although it does come up if you search for 'admin' under the workshop :P
Thanks for all the hard work, it's much appreciated!
In that moment i found the 1st workshoprelease i saw the potential of this mod.
Thats why i helped person8880 over last 4 month to increase the features and reported every bug i found.
All i can say is:
Keep up the good work and i like your straight and fast way to fix/implement things.
Is it possible to add command user targeting similar to how it works in SM? I mean that is a user has a name "abc12342", is it possible to type sh_kick bc123?
It compares the string you type with every player name connected to the server and applies the command to the user who has the most similar name.
... If only NS2 had a proper chat system, where you can scroll up the previous messages and copy usernames and messages.
Looks like you've done a seriously good job on this, the wiki and voting systems look great.
edit: Tried loading it onto a server with NS2Stats, the votes wouldn't work for surrender or rtv - it just said that a vote couldn't be started at this time.
Ah ok. Sorry to jump the gun then. I was just surprised that I seemed to have missed a fully developed admin mod as I try to keep up with the major server mods in NS2.
There are lots of awesome goodies in it, but I was wondering if you'd be interested in adding one more feature. Specifically, the ability to use a shared ban and/or admin.json file between multiple servers either on the same machine or in different locations (e.g. be able to specify a shared directory or url that contains my serveradmin.json and bannedplayer.json text).
Currently, I have to choose whether to use different config files for each server and have to manually update each admin/ban file or lose that ability so I only have one file location to manage. If you included this I would use Shine in a heartbeat.
Edit: Thinking about it more, it'd also be nice if it could work with both the in-game and webadmin banning systems (e.g. if I ban via the webadmin on any server, it includes it in the shared ban list).
Double Edit: Just noticed the server switch plugin which would be awesome for comp play (as international gameplay rules usually involve a server switch to allow the marine team to have the favorable ping). Can you add the ability to specify a password? Also, if you need help figuring out how to interface with the webadmin, speak with @devicenull.
Triple Edit: Vote Random/Vote Scramble is awesome, but I'd actually prefer a combo of the two that worked like:
- Randoms the teams at the start of the game for X period of time (like the current Vote Random)
- Where possible, randoms the teams based on the score of the previous round (e.g. like Vote Scramble except before the round, people who just join the server are shuffled randomly)
What would be even better is if you could tie the randoming into the Elo rating in ns2stats. I guess what I'm really looking for are some randoming options such asOption 1 = "Dumb" Random, i.e. distributes players without accounting for skill
Option 2 = "Score-smart" Random, i.e. distributes players based on previous round scores
Option 3 = "Elo-smart" Random, i.e. distributes players based on ns2stats Elo rating
Option 4 = "Hybrid-smart" Random, i.e. first distributes players based on ns2stats Elo rating, then score for those without a ns2stats Elo rating, and then randomly if no ns2stats Elo rating or previous round score
I would like to, but there's a rather large style difference between the way I work in Lua and the way xDragon and other NS2 modders do. I'm not sure how compatible the styles would be when working together, there would have to be an agreed format/framework.
@Jekt
The targeting system is heavily influenced by the functionality of Sourcemod's and already works as you describe. Partial names are parsed and matched to a player, so sh_kick bc123 would indeed kick abc12342. There's team targeting, group targeting, all player targeting etc. There's a page on the wiki about player targeting syntax.
Also, funny you mention the chat system. I planned to overhaul it with a chat box once I had completed a GUI framework (which is still in progress), although perhaps this should be left to UWE to do, as it's a rather fundamental part of the game.
As for your issues with NS2Stats, those messages should mean there's either not enough players or the round hasn't lasted long enough yet. If there were enough people/the round had passed the needed time, then there's something wrong and I'll see if I can find the problem.
@ScardyBob
Remote bans is extremely easy to add, I just wasn't sure how people would like it to work. If you are ok with it just pulling a .json file from the web then I can implement that.
Web admin banning/importing is possible, I'd have to spend some time fiddling with it.
I haven't touched the server switch plugin since I started the mod (last December). I can see about improving it and allowing passwords to be specified.
Thank you for the feedback, now I have to find time to work on it!
I don't know about that... depending on ns2stats isnt a great idea imo...
Agreed. It's getting harder and harder to find time for anything...
Edit: I would also like both remove bans and remove server access listing (e.g. I can host serveradmin.json on a webserver and share it amongst several servers). Those are the two main config files that I'd like to have shared between multiple servers.
I'm planning to, or at least playing with the idea of adding this to Shine so I may or may not, when I have the time. It seems better suited for it than adding it to Better NS2 which I would usually do, as it would overlap a bit and I like Shine.
Shine Admin
Better NS2
NS2 Stats
NS2 Bans
All the other mods are just too huge to host, even a Marine colour change is like 4mb, crazy.
Here's some initial documentation: https://github.com/IntoxicatedGaming/SparkMod/wiki/Introduction
Something wrong w/ DAK Admin? It's great for all the functionality it has. Is there a way for shine to compliment it? I feel that i want to use features from both! Really!
I couldn't of said it any better
I've tried both, i just like Shine a lot better, plus Shine has the readyroom plugin which stops people hanging around in the waiting room / spectator mode which i feel is vital to the fairness of any server.
I would love to see some features of DAK added to Shine such the ability to change of team names, concede weighing and reserved slots (especially since 32 player servers will eventually become a possibility if the game becomes optimised enough).
If you made an ELO plugin it would certainly save me some time! If you do decide to do it, I'd be happy to merge it into the mod as standard.
@ScardyBob
It already supports remote users. The base config options "GetUsersFromWeb" and "UsersURL" provide this. It can read the stock NS2 format and convert it in memory to my format so there'd be no need to change the file (other than command names). Web synced bans are coming.
As for SparkMod, everything it does for plugins (that I can see) Shine already has in a way I prefer to use. NS2 modders in general have a very UWE influenced design style, whereas I come from modding Garry's Mod and so use a style influenced by how things work there.
Concerning reserved slots, this is not something I want to make until UWE provide a proper client connect hook where I can immediately refuse the connection before they start loading. The kicking after load method is infuriating for players that end up on the server with no reserved slot access and the password method is serviceable but not optimal.
I understand that having two admin mods with differing features can be annoying when you want both. I'd be happy to collaborate with xDragon and others to make one universal admin mod, but I wouldn't want to give up everything I'd worked on and I don't think xDragon would either.
Would most likely need a plugin for this to work.
I think it's unfair to kick people just for the admins to get in.
Of course i'm going to have to wait until the developers optimise the game a lot more as 24 is the max at the moment and even then that's frowned upon by hosting servers.
Hey person, did you get a chance to see my feedback on the readyroom plugin?
I left it on the Steam comments a few days ago, just one small issue to resolve when you have the time!
Cheers
What you describe is exactly how I would want reserved slots to work, but it's not possible right now. UWE need to add hidden player slots and the ability to refuse connection on join like Source has with sv_visiblemaxplayers and the player_connect event.
In regards to invisible player slots, do you know if this feature has been requested officially yet?
I mentioned that already as a possibility. It's a sub-optimal method though.
I'm sure people have asked UWE many times already for proper connection control in Lua and it would be a far better method than passing round a password to people who may or may not tell others it and then ruin the 'reserved' nature of the slots entirely.
There's no need (in my opinion) for a centralised framework, Lua is already easy to use to extend the game. Compatible code between mods is just a case of using hooking, which when done correctly, can allow any number of mods to hook the same functions.
Shine can already be extended by anyone that wants to, its plugin framework is documented and I have documented some of the main goodies for developers from it.