Git Product home page Git Product logo

xadmin's People

Contributors

0wain avatar allcontributors[bot] avatar creekie1337 avatar drpepperg avatar extremlapin avatar kierancrossley avatar liondadev avatar livaco avatar livaconew avatar nosharp avatar realpack avatar roni-sl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

xadmin's Issues

[Suggestion]Adding jail commands

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.

Adding warn system?

I just wrote up a concept for xAdmin warnings. Is there any interest for this and if so is it even suitable for xAdmin?

xadmin command in console not working?

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.

RegisterCategory (a nil value)

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

Could someone Assit me with make commands

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

mySQLoo usage not working.

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

Rank in DB resets to user after connecting to the server

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

I get this perticular error when used with darkrp.

[xadmin] addons/xadmin/lua/xadmin/core/sh_ply.lua:8: attempt to index a nil value

  1. GetGroupPower - addons/xadmin/lua/xadmin/core/sh_ply.lua:8
  2. oldplyIsAdmin - addons/xadmin/lua/xadmin/core/sh_ply.lua:16
    3. IsAdmin - gamemodes/darkrp/gamemode/modules/fadmin/fadmin/access/sh_shared.lua:112
    4. func - gamemodes/darkrp/gamemode/modules/fadmin/cl_fadmin_darkrp.lua:4
    5. Show - gamemodes/darkrp/gamemode/modules/fadmin/fadmin/cl_interface/cl_scoreboardplayer.lua:54
    6. v - gamemodes/darkrp/gamemode/modules/fadmin/fadmin/cl_interface/cl_scoreboard.lua:108
    7. unknown - lua/includes/modules/hook.lua:84

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.