Comments (4)
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.
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.
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.
Cheers I'll follow that format then in future!
from dcs-slmod.
Related Issues (20)
- Technical info: Either the DB "api/db/db.json" does not exist, or there is no ["server"] index within it HOT 3
- Takeoffs count doubled
- Trains not being picked up by SL-MOD HOT 3
- Support for subfolders within load mission admin commands
- How to enable SLMOD? HOT 3
- [FeatureRequest]Please Add Anti Taxiway Take Off
- [Feature Request] Combined Arms and special slots tracking stats
- Mission Script Error HOT 2
- Error in server log after updated to DCS 2.7.18.30348 Open Beta: "Airbase doesn't exist" HOT 2
- Mission error HOT 2
- Grading problem HOT 5
- SLMOD activation on two servers
- slmod.sendData() attempt to index global 'slmod' (a nil value) HOT 4
- Initiator and target UCID for mission events
- Suppress Unnecessary MOTD Elements
- Message Formats other than "chat" don't appear HOT 1
- Slmod stats showing o HOT 2
- F-15 and Mirage times appear to be unlogged. HOT 1
- JSON Export
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcs-slmod.