thexyznetwork / xadmin Goto Github PK
View Code? Open in Web Editor NEWA free and basic administration system for Garry's Mod.
License: The Unlicense
A free and basic administration system for Garry's Mod.
License: The Unlicense
How do i set a player's rank through console? I don't get it
I really think jail commands should be implemented under discipline. I feel like it's an essential feature and should have a !jail, !jailtp, and !unjail command
!jail should have a string for time in minutes and a string for the reason
!jailtp should have a string for time in minutes and string for reason
I think there should be a string for a reason because its a discipline command.
From what I can see https://github.com/OwjoTheGreat/xadmin/wiki/Commands does not document
https://github.com/OwjoTheGreat/xadmin/blob/master/lua/xadmin/commands/darkrp.lua
This would just generally be useful to add. Also IMO darkrp should be an external module and not added by default.
I just wrote up a concept for xAdmin warnings. Is there any interest for this and if so is it even suitable for xAdmin?
Hello
I've installed the xAdmin package in my garrysmod/addons folder, but it doesn't work when I either type xadmin
in the console or in the chat something like !god WhiteSasch
, it shows no output or no error, neither in the client console or neither in the server console. The database is loaded in MySQL, because when I set my rank in the database to superadmin and i rejoin my server, I'm a superadmin. The command xadmin_help
works in the client console, but not in the server console. !warn
works.
If I set my rank or a friends rank to admin / superadmin and they rejoin the server or it restarts, our ranks aren't saved. We don't use MySQL.
You are releasing good shit as ussual Owain! Just have a issue currently where some addons like perma prop, awarn3 and some more wont work with your addon. Is there a solution to this or do i need to find replacements?
Kindest Regard SaxGuy.
[ERROR] addons/thirdperson/lua/thirdperson/sh_thirdperson.lua:164: attempt to call field 'RegisterCategory' (a nil value)
1. v - addons/thirdperson/lua/thirdperson/sh_thirdperson.lua:164
2. unknown - lua/includes/modules/hook.lua:84
VCMod: Sent API key to player LT Sax 1C58. 99 keys left.
VCMod: Initializing player LT Sax 1C58.
[The Epic Sax Guy|2|STEAM_0:0:79946296] Lua Error:
[ERROR] addons/awarn3/lua/includes/sh_awarn3.lua:89: attempt to call field 'RegisterPermission' (a nil value)
1. RegisterAdminModPermissions - addons/awarn3/lua/includes/sh_awarn3.lua:89
2. unknown - addons/awarn3/lua/includes/sh_awarn3.lua:102
It would be nice. Or is it just a little admin mod?
Could someone Assistant me with make commands and edit
i would like to make so you could add time for gaging and muting so it would ungag/unmute when the times up and make a adminmode command
So I originally wasn't using mySQLoo, after a bit of use I noticed that I don't keep my rank when rejoining so I looked in the issues and saw it was a persisting issue. D3Kyler was nice enough to tell me the console command to drop the table for users, so I did that and it was still a persisting issue. The only reason I didn't use mySQLoo was that when I tried it would always put me at the map origin point and break the DarkRP gamemode. Not sure if there is a fix or I just installed mySQLoo wrong, but I have done it the same as I always have, here is the error I get if anyone knows the fix.
16:32:40 "Pixit<2><STEAM_0:1:26929632><>" connected, address "98.39.240.181:27005"
16:32:47 "Pixit<2><STEAM_0:1:26929632><>" STEAM USERID validated
16:32:51 Lua Error: [xadmin-master] addons/xadmin-master/lua/xadmin/core/sv_db.lua:88: attempt to index field 'Connection' (a nil value) 1. Escape - addons/xadmin-master/lua/xadmin/core/sv_db.lua:88 2. SetUserGroup - addons/xadmin-master/lua/xadmin/core/sh_ply.lua:69 3. v - lua/includes/extensions/player_auth.lua:90 4. unknown - lua/includes/modules/hook.lua:84
16:32:51 Lua Error: [ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:635: attempt to index local 'jobTable' (a nil value) 1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:635
16:32:51 Lua Error: [ERROR] gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:760: attempt to index local 'jobTable' (a nil value) 1. unknown - gamemodes/darkrp/gamemode/modules/base/sv_gamemode_functions.lua:760
16:32:51 "Pixit<2><STEAM_0:1:26929632><>" entered the game
16:32:59 Lua Error: [ERROR] gamemodes/darkrp/gamemode/modules/base/sv_entityvars.lua:86: bad argument #1 to 'pairs' (table expected, got nil) 1. pairs - [C]:-1 2. sendDarkRPVars - gamemodes/darkrp/gamemode/modules/base/sv_entityvars.lua:86 3. unknown - gamemodes/darkrp/gamemode/modules/base/sv_entityvars.lua:102 4. unknown - lua/includes/modules/concommand.lua:54
16:33:02 Lua Error: [ERROR] Warning! A net message (DarkRP_InitializeVars) is already started! Discarding in favor of the new message! (DarkRP_InitializeVars) 1. sendDarkRPVars - gamemodes/darkrp/gamemode/modules/base/sv_entityvars.lua:80 2. unknown - gamemodes/darkrp/gamemode/modules/base/sv_entityvars.lua:102 3. unknown - lua/includes/modules/concommand.lua:54
16:33:02 Lua Error: [ERROR] gamemodes/darkrp/gamemode/modules/base/sv_entityvars.lua:86: bad argument #1 to 'pairs' (table expected, got nil) 1. pairs - [C]:-1 2. sendDarkRPVars - gamemodes/darkrp/gamemode/modules/base/sv_entityvars.lua:86 3. unknown - gamemodes/darkrp/gamemode/modules/base/sv_entityvars.lua:102 4. unknown - lua/includes/modules/concommand.lua:54
For some reason when connecting to the server the usergroup rank will reset back to user in the database(mysql), but would't take affect till you reconnected once more. I couldn't figure out why this was happening. At first I thought it was some type of addon conflict so I removed every addon except xadmin, but the issue still persisted. I then enabled Fadmin within the darkrp disable_defaults config and the problem just went away and it stopped resetting the group.
I assume this isn't supposed to happen?
Thanks <3
[xadmin] addons/xadmin/lua/xadmin/core/sh_ply.lua:8: attempt to index a nil value
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.