Thread: [PLUGIN] Lt - Sven Admin Mod(Advanced)

Results 1 to 14 of 14
  1. #1
    Registered User
    Join Date
    Aug 2018
    Location
    Turkey
    Posts
    25

    [PLUGIN] Lt - Sven Admin Mod(Advanced)

    Requirements:
    Lt - Miscellaneous
    Lt- Multi Language System
    Lt - Advanced Say System


    Version: 1.2

    Multi Language Support:

    TR

    EN

    Installation
    1 - Download file
    2 -
    Put the all files/folder svencoop directory.
    3 -
    Open the default_plugins.txt and put in:
    Code:
        "plugin"
        {
            "name" "Lt - Admin Access Loader"
            "script" "xp_accessloader"
        }
        "plugin"
        {
            "name" "Lt - Sven Admin Mod(Advanced)"
            "script" "xp_admin"
        }
    This plugin included to auto afk slay (300 sec.)

    Admin installation;
    1 - Open scripts\plugins\config\xp_users.ini file.
    Put admin as below;
    Code:
    <username|steam><pass><access>
    Lt.Ibrahim 123456 #
    STEAM_0:0:123456789 ** #
    Youruser 1234 abc
    Code:
    Admin Access Flags
    a: XP_ACC_BAN : /ban, /kick
    b: XP_ACC_MAP : /map
    c:XP_ACC_SLAY: /slay, /slap,  /autoslap
    d: XP_ACC_RCON : /rcon
    e: XP_ACC_IMM : Admin immunity
    f: XP_ACC_FUN: /god /noclip /notarget /noreload
    g: XP_ACC_TELE: /tpto /tpme /tport
    h: XP_ACC_ENT. Entity command(not used)
    i: XP_ACC_RSV : Admin reservation(not used)
    j: XP_ACC_FLAG_A: Custom flag a(not used)
    k: XP_ACC_MISC: /cvar /ac
    l: XP_ACC_FLAG_B: Custom flag b(not used)
    m: XP_ACC_FLAG_C: Custom flag c(not used)
    n: XP_ACC_FLAG_D: Custom flag d(not used)
    o: XP_ACC_SAY: /say /csay /hsay /tsay
    #: All access

    if pass is not **, client must be setinfo_pw userpassword into console.

    if admin name is steamid, please set user pass **.

    Admin Commands(in chat):

    /map|/changelevel <
    mapname>: Change current map to desinition map.
    Code:
    /map svencoop1: Changed map to svencoop1
    /changelevel auspices: Changed map to svencoop1
    /sethealth <
    username> <value: 1 to 10000> : Set users health
    /setarmor<username> <value 1 to 10000> : Set users armor

    Code:
    /sethealth Lt.Ibrahim 100: Sets Lt.Ibrahim health 100
    /setarmor Lt. 100: Sets Lt.Ibrahim armor 100
    /sethealth #ALL 100: Sets all users health 100
    /setarmor @ALL 100: Sets all users armor 100(Except me)
    /setarmor #BOT 100: Sets all bots armor 100
    /ac <command>: send comand as as_commands directy to console.
    Code:
    /ac plugin.cvar 1: Commands will send console as "as_command plugin.cvar 1"
    /rcon <command>: send command to server console
    Code:
    /rcon changelevel svencoop2
    /kick <username> <reason>: Kick desination user this server(#ALL, @ALL, #BOT supoorted)
    Code:
    /kick Lt. None: Kick Lt.Ibrahim with using reason(None)
    /kick Lt.Ibrahim: Kick Lt.Ibrahim without reason.
    /autoslap <username> <damage>(#ALL, @ALL, #BOT supoorted)
    Code:
    /autoslap Lt. 1: Slap lt.ibrahim with 1 damage for 10 seconds
    /slap <username> <damage>(#ALL, @ALL, #BOT supoorted)
    Code:
    /slap Lt. 1: Slap lt.ibrahim with 1 damage
    /ban n=<username> t=<time: second> r=<reason>(#ALL, @ALL, #BOT supported)
    Code:
    /ban n=Lt. t=1h r=None: Ban Lt.Ibrahim 1 hours
    /ban n=Lt.: Ban Lt.Ibrahim 3 mins
    /ban n=Lt. t=-1 Ban Lt.Ibrahim unlimited.
    /addban n=<username> s=<steamid> r=<reason> ip=<ip> t=<time=-1>
    Code:
    /addban n=lt.ibrahim r=test t=-1: Add desired variable banlist
    /addban ip=1.2.3.4: Add desired variable banlist
    /unban !<ip>|#<id>|@<steamid>|<username>
    Code:
    /unban #1: Remove user ban from server
    /unban Lt.Ibrahim
    /unban @STEAM_0:0:12345
    /god <plname>(#ALL, @ALL, #BOT supported)
    /notarget <plname>(#ALL, @ALL, #BOT supported)
    /freeze<plname>(#ALL, @ALL, #BOT supported)
    /noclip<plname>(#ALL, @ALL, #BOT supported)
    /noreload<plname>(#ALL, @ALL, #BOT supported)
    /givemaxammo<plname>(#ALL, @ALL, #BOT supported)
    Code:
    /god Lt. : Toggle godmode Lt.Ibrahim.
    /noreload Lt.: Toggle noreload Lt.Ibrahim.
    /notarget #ALL: Toggle notarget All(with me)
    /stupid <username>: Toggle stupid mode to desired player for 3 maps (#ALL, @ALL, #BOT supported)
    Code:
    /stupid Lt.: Toggle stupid mode Lt.Ibrahim for 3 maps.
    /sayban <player>: Ban from chat to desired players(#ALL, @ALL, #BOT not supported)
    /sayunban <player>: Unban chatban to desired players
    (#ALL, @ALL, #BOT not supported)
    Code:
    /sayban Lt..
    /sayunban Lt.
    /give <player> <item>: Give item to desired player.(#ALL, @ALL, #BOT not supported)
    Code:
    /give Lt. item_healthkit
    /useraction: Open the user action menu.
    User action menu support multi user selection.

    /say
    <Message>: Show animated message to all players.
    /hsay <Message> : Show motd message to all players
    /hsay_s <player> <message> : Show moth message to single player
    /tsay <Message>: Show center message to all players.
    /csay <color> <Message>:
    Show colored hud message to all players, supported colors(red, green, blue, white, black, yellow, pink)
    Code:
    /csay red Test
    /hsay_s Lt. Test Message
    /pmodel <username> <newmode>: Set user model((#ALL, @ALL, #BOT not supported)
    Code:
    /pmodel Lt. helmet: Set Lt.Ibrahim models to helmet.
    /pmodel Lt. helmet #l: Set Lt.Ibrahim models to helmet and lock model for 3 maps.
    /pmodel Lt. #ul: Unlock Lt.Ibrahim models if locked.
    /pmodel Lt. #l: Lock Lt.Ibrahim current models for 3 maps.
    /pname <username><newname>: Change user name((#ALL, @ALL, #BOT not supported)
    Code:
    /pname Lt. LtIbm: Change Lt.Ibrahim name to LtIbm.
    /pname Lt. LtIbm #l: Change  Lt.Ibrahim name to LtIbm and lock name for 3 maps.
    /pname Lt. #ul: Unlock Lt.Ibrahim name if locked.
    /pname Lt. #l: Lock Lt.Ibrahim current name for 3 maps.

    /stripweapon <username> <weaponname>: Strip desired weapons to desired users(seperated with comma)((#ALL, @ALL, #BOT not supported)
    /stripweaponall <weaponname>: Strip desired weapons to all users(with me; seperated with comma)
    Code:
    /stripweapon Lt. #: Strip all weapons from Lt.
    /stripweaponall #: Strip all weapons from All users.
    /stripweaponall weapon_medkit, weapon_crowbar: Strip medkit and crowbar all users.
    /stripweaponall *weapon_medkit, weapon_crowbar: Strip all weapons from all users(except medkit and crowbar)
    /setsurvival <0 to 1>: Enable or disable survival mode.
    Code:
    /setsurvival 0: Disable survival mode
    /setsurvival: Get current survival mode status.
    /setsurvival 1: Enable survival mode
    /setvisible <player> <0 to 255>: Set desired player visibility(#ALL, @ALL, #BOT not supported)
    Code:
    /setvisible Lt. 0: Set Lt.Ibrahim visiblity hidden.
    /tport <player> <x> <y> <z>: Teleport desired player to given point. (#ALL, @ALL, #BOT not supported)
    Code:
    /tport Lt. 0 0 0: Set Lt.Ibrahim origin is 0, 0, 0
    /tpme <player>: Teleport desired player to me (#ALL, @ALL, #BOT supported)
    Code:
    /tpme Lt.: Teleport Lt.Ibrahim to me.
    /tpme #ALL: Teleport All players to me.
    /tpto <player> <desiredplayer>: Teleport selected players to desired player t(#ALL, @ALL, #BOT supported)
    Code:
    /tpto Lt.: Teleport me to Lt.Ibrahim
    /tpto #ALL Lt.: Teleport all players to Lt.Ibrahim:
    /tpto #BOT Lt: Teleport all bots to Lt.Ibrahim:
    /mute <Player>: Mute player voice to all player.
    /unmute <Player> Unmute player voice to all player.
    Code:
    /mute Lt.
    /unmute Lt.
    /cvar <cvarname> <cvarvalue>: Set or gets cvar values.
    Code:
    /cvar sv_gravity 200: set sv_gravity cvar 200.
    /cvar sv_gravity: get sv_gravity cvar value.

    Client Commands:
    /admin: Show active admin list.
    /lastusers: Show last disconnected users(max 10)
    /banlist <page>: Show banned users list.


    [B]Some Screensohts:






    All security problems are solved
    New Link:
    Lt - Sven Admin Mod


    Last Update: 1.09.2019 History
    Added anti flood system for chats.
    Server owner can enable or disable anti flood system on xp_admin_config.ini file.
    Admin can now permamently lock username using /pname command.
    (example /pname targetuser newnick #ll)
    Fixed some ML text.
    Fixed some bugs.

    Update: 21.07.2019 History
    Fixed afk slay is not true working.
    Added superadmin access feature(e.g standart admin can not access super admin, super admins can hide admin action message.)
    Max superadmin access level is 3.
    Added xp_admin_config.ini files.
    Server owner can edit command access flags with xp_admin_config.ini.
    Added quick action for useraction menu.
    Added /gag command.
    sayban and mute commands effects now permanent.
    Added /chicken command. Admins can transform user to chicken.
    Added /restart command (restart current map).
    Added /spectate command. Admins can enter spectate mode.
    Added /onehitkillmode 0 or 1: For all users.
    Added /onehitkill <username> command for single users.
    Added /sgod <username> command: Special godmode toggle(other users can't show invincible status).
    Fixed /setsurvival command.
    connecting player will show on screen.
    And fixed more bugs.
    Attached Files Attached Files
    Last edited by Lt.Ibrahim; 31-08-2019 at 05:08 PM. Reason: Updated.

  2. #2
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [UK]
    Posts
    8,581

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    Would you mind talking about this potential backdoor?







    Function "is_user_maker" and constant "XP_ACC_MAKER" are ringing alarm bells. Why would your publicly published game server plug-in need to do anything special for the people that made it? What it looks like you're doing is giving yourself full permissions on other people's game servers.



    Looks like there are steam IDs hard-coded into the plug-in. Yours I presume?



    Also, you can change your name to "Lt.Ibrah!m" and then do "setinfo _pw 123456" to get full access to this plug-in's features. Major security problem there.

    --

    I've removed the download link from this thread, and hidden the 5 other threads, until you can satisfy us there is no deliberate backdoor in this plug-in.
    Last edited by AdamR; 24-12-2018 at 04:45 PM.
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

  3. #3
    func_vehicle enthusiaist w00tguy123's Avatar
    Join Date
    Dec 2006
    Location
    U.S. West
    Posts
    1,598

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    LOL I knew it was only a matter of time before someone did this. I wanted to do something similar in my maps and obfuscate it somehow (not anything malicious ofc).
    Love,
    w00tguy

  4. #4
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [UK]
    Posts
    8,581

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    Yeah, it's easy to do (and has happened with other server mods for GoldSrc already), but also easy to find in an open source program.
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

  5. #5
    Registered User
    Join Date
    Aug 2018
    Location
    Turkey
    Posts
    25

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    AdamR
    Plugin has no backdoor and other...
    XP_ACC_MAKER commands only working for my private server,
    XP_ACC_MAKER commands not working this public plugins,
    xp_users.ini files is example only, users can change all variables.

    Plugin code updated XP_ACC_MAKER removed, and changed Lt.Ibrahim to ExampleUsers in the xp_users.ini file.

    I have no such intentions, All plugin coded updates.

    Changed Screens(You can explore codes):
    From xp_access.as




    From ibm_say.as


    From xp_users.ini (This file example only you must be change values)


    New link:
    https://yadi.sk/d/-3QkoH9I4_TafQ

    Old url is removed.

  6. #6
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [UK]
    Posts
    8,581

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    Hi Lt.Ibrahim, thanks for following up on this. I guess you've resolved this for all 6 of your plug-ins?

    That example users configuration shouldn't contain any live records though, even if they're samples. (They should be commented out.) Though unlikely, one steam ID has full permissions there, and we're still granting something to ExampleUser if they use password 123456.
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

  7. #7
    Registered User
    Join Date
    Aug 2018
    Location
    Turkey
    Posts
    25

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    Quote Originally Posted by AdamR View Post
    Hi Lt.Ibrahim, thanks for following up on this. I guess you've resolved this for all 6 of your plug-ins?

    That example users configuration shouldn't contain any live records though, even if they're samples. (They should be commented out.) Though unlikely, one steam ID has full permissions there, and we're still granting something to ExampleUser if they use password 123456.
    Yes, All plugin security problem is resolved.

    And xp_users.ini changed to:
    Added ';' chars all line start, Plugin do not parse if line starts with ';'



    Other Plugins links and files are removed.
    And new links is:
    Lt - Admin Mod(this): https://yadi.sk/d/aQmZmKLTP4ZRPQ
    Xp - Util Link Is: https://yadi.sk/d/1jl9k08-Ms5xZg
    Lt - Say Music Link Is: https://yadi.sk/d/mw97g0_yMyy2Kg
    Lt - Votemap Link Is: https://yadi.sk/d/K0hFwNsQSl1TqA
    Lt - Say Command Link Is: https://yadi.sk/d/cMenlAW80B7tpQ
    Lt - Multi Language System: https://yadi.sk/d/Ce2XXA08vPaYxQ

    Thanks.

  8. #8
    Administrator AdamR's Avatar  
    Manager
    Join Date
    Mar 2004
    Location
    Cardiff, South Wales [UK]
    Posts
    8,581

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    Thanks for resolving that. I've updated the links on your 5 other threads.
    Adam "Adambean" Reece
    Sven Co-op team

    Also on: Steam | Facebook | Twitter | YouTube | Twitch
    Released AMXX plug-ins: Bind number slots | NextMap with Sven Co-op fix | Sven Co-op administrator icons

  9. #9
    Registered User
    Join Date
    Aug 2018
    Location
    Turkey
    Posts
    25

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    The link updated to Sven Coop 5.18 version.

  10. #10
    SCP-1999 citizen_17.mdl's Avatar
    Join Date
    Mar 2019
    Posts
    1

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    It says that idon't have access to commands even though i'm on the admin list and have the "#" flag.

  11. #11
    Registered User
    Join Date
    Aug 2018
    Location
    Turkey
    Posts
    25

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    Quote Originally Posted by citizen_17.mdl View Post
    It says that idon't have access to commands even though i'm on the admin list and have the "#" flag.
    Can you share xp_users.ini files image.
    Last edited by Lt.Ibrahim; 20-03-2019 at 05:05 AM.

  12. #12
    Registered User
    Join Date
    Aug 2018
    Location
    Turkey
    Posts
    25

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    The addon is updated last version.
    Fixed afk slay is not true working.
    Added superadmin access feature(e.g standart admin can not access super admin, super admins can hide admin action message.)
    Max superadmin access level is 3.
    Added xp_admin_config.ini files.
    Server owner can edit command access flags with xp_admin_config.ini.
    Added quick action for useraction menu.
    Added /gag command.
    sayban and mute commands effects now permanent.
    Added /chicken command. Admins can transform user to chicken.
    Added /restart command (restart current map).
    Added /spectate command. Admins can enter spectate mode.
    Added /onehitkillmode 0 or 1: For all users.
    Added /onehitkill <username> command for single users.
    Added /sgod <username> command: Special godmode toggle(other users can't show invincible status).
    Fixed /setsurvival command.
    And fixed more bugs.

  13. #13
    Registered User
    Join Date
    Aug 2018
    Location
    Turkey
    Posts
    25

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    The addon is updated and removed onentitycreated hook for enemy max health increasing(dynamic difficult).

  14. #14
    Registered User
    Join Date
    Aug 2018
    Location
    Turkey
    Posts
    25

    Re: [PLUGIN] Lt - Sven Admin Mod(Advanced)

    The addon is updated.
    Last Update: 1.09.2019 History
    Added anti flood system for chats.
    Server owner can enable or disable anti flood system on xp_admin_config.ini file.
    Admin can now permamently lock username using /pname command.
    (example /pname targetuser newnick #ll)
    Fixed some ML text.
    Fixed some bugs.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •