flashhit / betteringameadmin Goto Github PK
View Code? Open in Web Editor NEWProvides addition functions for players and admins.
Provides addition functions for players and admins.
like ChatManager:Yell(player.name .. " started a votekick on " .. playerToVote .. " for " .. reason, 8)
if I do it with yell.
so this would also mean I have to add a new popup when someone click on votekick / voteban to enter the reason.
Waiting for: VeniceUnleashed/VeniceUnleashed#515
If you want to assist the enemy team, but you can't swap atm, it should put you in a queue and swap you when it's possible.
Either a new tab or add to banlist/viplist/adminlist tab.
Probably new tab so I can also add the antispam chatsettings.
[betteringameadmin-main] Error: [string "init.lua"]:1141: attempt to index a nil value (local 'localPlayer')
This happens in a function that is used to set the Owner's rights. As the owner of my server, I don't get admin controlls anymore.
I'm on the latest version, downloaded on 30-12-2020.
Like voteduration, show dead enemies in scoreboard, show loading screen info, allow custom mouse sens. multipliers, allow custom ads fov, allow channel muting, allow player muting, enable votekick, enable Voteban etc.
updateTimer(), noVote(), yesVote()
do checks there
Some functions have problems with the goto stuff cuz I did it wrong by using the same name more then once.
As admin you can only do admin actions on other players.
Just had a votekick running while Zeus died.
This caused the console to get spammed by an error
[2020-12-21 18:42:07+01:00] [error] [VeniceEXT] [betteringameadmin] Error: [string "__init__.lua"]:415: Attempted to access a destroyed player object.
stack traceback:
[C]: in metamethod 'index'
[string "__init__.lua"]:415: in method 'EndVote'
[string "__init__.lua"]:398: in function <[string "__init__.lua"]:394
do it for:
Need to create a popup for messages: like: A vote is already in progress, please wait and try again. And then just an OK button.
Same for confirm messages like: Player successfully killed. Joined Alpha Squad. Made squad private. Etc.
atm using Player:BanTemp....
change that to RCON:SendCommand ...
Because the defenders have always more tickets then the attackers.
check if the received admin command via netevents really comes from an admin, if not that player might messed up with the webui.
Votekick/ban reason.
But still has to look great.
Add Textchatmoderation to admin playeractions, where you can set him to mute, voip, admin.
Atm the mod only supports 1280x720 up to 1920x1080
Well the actual scoreboard supports lower resolutions as well but that was made with a bunch of @media(min / max width).
Maybe just a setting, but I havend foud it jet...
If i try to switch the team it just sais, that this is disabled.
sth like only 3 votings per player per round or only 1 voting per player in 10 minutes.
A tab to modify the general loadout. With custom presets.
gameAdmin clear doesn't work at all.
Dependency VEXT v1.0.1
Tab + right click only works when spawned.
Waiting for: VeniceUnleashed/VeniceUnleashed#532
For example:
Round ended by SURRENDER
Or
Player: player
got kicked by VOTE
Export the gameAdmin stuff to a mod. So other admin based mods can make use of it. Will also make a simple ingame admin mod that does pretty much the same as the procon IngameAdmin plugin. !say, !yell, !psay, !pyell, !restart, !nextLevel, !endround, !move, !fmove, !kill, !kick, !tban, !ban
Also improve it.
Rename the abilities.
Use Events:Dispatch('GameAdmin:Player', player, abilities)
Then here:
Implement Events:Subscribe('GameAdmin:Player', function(player, abilities)
and then adjust the js.
Add dependency to mod.json -> gameAdmin: ^1.0.0
atm only the presets Normal, Infantry, Hardcore work, but if you want custom settings it isnt working. So I need to make this work.
If possible let players choose their dogtags.
tried to click on the player .\_"'$:-|[]<>!?
didn't work.
Dependency VEXT v1.0.1
Waiting for: VeniceUnleashed/VeniceUnleashed#511
Like a cooldown of 5 minutes after a vote.
This will be for the mod settings tab
self.playerToVote should only contain the name and not the whole Player. as it will cause an error when the player gets destroyed / leaves and the EndVote() gets triggered
Atm you can only change the banner with rcon.
Display for 3 seconds the result at the same area.
check if soldier.player ~= nil
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.