Giter Club home page Giter Club logo

Comments (4)

mrSkortch avatar mrSkortch commented on August 17, 2024

Could you PM me the BannedClients.lua file? Sounds like there might be a syntax error. Make sure it is formatted like:

``["4e62e464308d2e05ad89d1e442060774"] = "User Name",

from dcs-slmod.

chazzbarramundi avatar chazzbarramundi commented on August 17, 2024

Hi, so I've been adding these bans manually after they've been reported. So i haven't been using the -admin controls in SLMOD to ban these users. The format below is a copy of the BannedClients.lua. Thanks!

slmod_banned_ips =
{
} -- end of slmod_banned_ips

slmod_banned_ucids =
{

c867781386b6ecd9c43ceb34f368690a,
404a3e199a190725ea177d82d45df691, --perm ban

} -- end of slmod_banned_ucids

from dcs-slmod.

mrSkortch avatar mrSkortch commented on August 17, 2024

Yep and that is the problem. It isn't formatted correctly.

Lua thinks you are referencing a variable with those names and it doesn't like it when one starts as a number and then switches to letters.

However the table is expecting the key and value to be stored as strings. The correct format would be:

slmod_banned_ucids =
{
["c867781386b6ecd9c43ceb34f368690a"] = "User Name1",
["404a3e199a190725ea177d82d45df691"] = "User Name2",
}

from dcs-slmod.

chazzbarramundi avatar chazzbarramundi commented on August 17, 2024

Cheers I'll follow that format then in future!

from dcs-slmod.

Related Issues (20)

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.