Roblox |
Discord |
Module |
clanware.org
About Clanware
Clanware is a Roblox community centered around the sword fighting aspect of the game. It offers a range of services designed to improve and protect the sword fighting genre, including a verified discord bot with over 20k users, a comprehensive ban list of known exploiters, a group checker to increase clan safety, and channels for news, communication, and marketing. The goal of Clanware is to foster a positive and safe environment for players to enjoy the sword fighting aspect of Roblox Clanning.
The Clanware banlist currently has about 1.2k exploiters.
Module Overview
This module provides functions for interacting with the Clanware exploiter ban list API. The cw
object contains the following functions:
-
Activate()
: Makes a GET request to the Clanware ban list API and stores the response in thecw
object. Returnstrue
if the request was successful, orfalse
and an error message if the request failed. -
isListed(player: player, checkXplt: boolean, checkDgn: boolean)
: Accepts aplayer
object and two booleans,checkXplt
andcheckDgn
, and checks whether the player is listed in thexplt
ordgn
ban lists. Returnstrue
if the player is listed, orfalse
if the player is not listed.
Example usage
local cw = require(path_to_cw_module)
if cw.Activate() then
if cw.isListed(player, true, false) then
-- Player is listed in the xplt ban list
else
-- Player is not listed in the xplt ban list
end
end
local cw = require(11872695784)
cw.Activate() -- You must run activate before anything else.
repeat task.wait() until cw.Loaded -- You can use this if you are referencing CW in multiple scripts but only activating it in one.
local exploiters = cw.xplt -- table of exploiter user ids
local degenerates = cw.dgn -- table of degenerate user ids
local players = game:GetService("Players")
players.PlayerAdded:Connect(function(player)
if cw.isListed(player, true, true) then -- Param 1: player to check, param 2: Check XPLT, param 3: Check DGN, returns boolean
print("listed")
-- custom exploiter/degenerate handling
end
end)