Jump to content

1 Screenshot

  • 13.1k
  • 629
  • 3.82 kB
  • Update details
    v1.0.0
    Released
    Download size3.82 kB
    Total versions1
    Freshness 1688 days ago

About Centralized Banning

Fancy a bit of Centralized Banning without paying for RustAdmin or similar.

What is Centralized banning? Centralized banning is the ability to ban a player on one server and have that ban logged across all of your servers.

If you have a web server  that runs php and mysql you can easily set it up.

This is literally a simplified version of the RustyBan Centralized banning system for use with the server end point system.

Installation is easy:
Setup a sql user, database and API table. (my sql rip is at the bottom)

Edit the Database.php file in API/config folder with your Database name, User and password.

Drop the API files into your webserver

drop the CentralBan.cs plugin into all your servers.

Set the API URL in the oxide config file and run the  
CentralFirstRun
command in console.

then set your server.bansserverendpoint as your check.php?steamId= address
Done!

confused?
Watch my video

 

SQL
 

CREATE TABLE `API` (
  `id` int(11) NOT NULL,
  `steamId` varchar(17) NOT NULL,
  `Reason` text NOT NULL,
  `expiryDate` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

ALTER TABLE `API`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `API`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

 

  • Love 3

User Feedback

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
156.3k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.