Git Product home page Git Product logo

afkmanager's People

Contributors

crashzk avatar night757 avatar webpashtet 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  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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

afkmanager's Issues

Bug Anti-Camp-Timer

I think there is still a mistake. For me the anti-camp uses the AFK timer and not the AntiCampWarnPlayerEveryXSeconds timer. Regards Mafel

System.InvalidOperationException

After uploading, the plugin throws errors

System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
   at System.ThrowHelper.ThrowInvalidOperationException_ConcurrentOperationsNotSupported()
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
   at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
   at CounterStrikeSharp.API.Modules.Memory.Schema.GetSchemaOffset(String className, String propertyName) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Memory/Schema.cs:line 57
   at CounterStrikeSharp.API.Modules.Memory.Schema.GetPointer[T](IntPtr pointer, String className, String memberName) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Memory/Schema.cs:line 114
   at CounterStrikeSharp.API.Core.CEntityIdentity.get_Next() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/Objects.g.cs:line 9413
   at CounterStrikeSharp.API.Utilities.FindAllEntitiesByDesignerName[T](String designerName)+MoveNext() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Utilities.cs:line 64
   at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Boolean& found)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at AFKManager.AFKManager.AfkTimer_Callback() in D:\servers\lua\AFKManager\AFKManager\AFKManager.cs:line 168
   at InvokeStub_Action.Invoke(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
   --- End of inner exception stack trace ---

Kick admins

Screenshot_20240528_175547_Chrome

Kicks admins with the css ban flag from the specks

Kicked for being a bot

If you take a bot, it immediately starts going on a timer.
Also if I flip to spectra, I do not die, but just move to an unknown team and continue walking, I can take a weapon and kill, but I am not visible.

kicking admin only

its not kicking players
and how to not kick spectator i just want the plugin to switch pplayers to spec

[REG] don't count BOTs to count players

Hi,

it will be good if it will be posible doesn't count BOTs to count players.
When you set "SpecKickMinPlayers": 4, and 2 players and 2 BOTs are on server, you lost player while he can be still in spectate.
Players checking how many plaers are on the server and then connect. Server can by this way filled earlier.

how to install this plugin ?

reupload it organized ,like file called addons and we just put the folder in server , i dont know where to put them files

Leaves ghost

Plugin work all ok, but when plugin kick someone or move to spectators, he leaves ghost which is located in textures or on the map, and can be observed when switching players

[REQ] Translation support improvements

Would it be possible to implement translation support based on CSSharp, for multiple languages ​​in this case?

I would like to make several languages ​​available for messages due to the location of some players, so everyone can view the translations based on the language of their game.

Whitelist improvements during AFK verification

It would be possible to make all players pass the check to be moved to SPEC if they are AFK, but for them to be kicked from the server even if they are AFK from SPEC only if the player is not on the whitelist.

In other words, all players can be moved to SPEC if they are AFK and if they continue AFK in SPEC, if the player is not on the whitelist, he will be kicked from the server.

Improvements to the punishment system

Punishment system with sum for carrying out actions.

Currently you would have these options:

Punishment options (0 - kill | 1 - kill + move to spectator | 2 - kick)

It would work like this 1 + 2 = 3

That is, the user would receive Kill + Move to Spectator + Kick later if he continues AFK from SPEC.

Testing here I haven't been able to reproduce this way yet.

Spec

hey just wanted to ask does the plugin only check for players in spec that were moved for afk, or also cheks for players who joined spec on their own?

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.