ClanSplit — Automatic distribution of clan loot via Discord
ClanSplit is a Discord bot I developed for Old School RuneScape, with the goal of fairly and automatically distributing loot and profits within clans. The bot is connected to the game via webhooks and processes real-time data from clan members who obtain loot during group combat activities.
Context and motivation
In many games, and especially in Old School RuneScape, clans organize group activities where profits are earned collectively. From my own experience as a clan member, I knew that distributing these profits almost always caused issues. Players had to manually report their earnings, calculations were done afterward, and mistakes or unfairness were constantly a risk.
This not only created extra work but also led to frustration and discussions within clans. ClanSplit was born out of the desire to fully automate this process and make it fair.
What ClanSplit does
ClanSplit automatically reads loot data from participating clan members via webhooks. Based on this data, the bot calculates the total profit and distributes it fairly among all involved players.
As a result:
- manual input is no longer required
- disputes about distribution disappear
- profits are always calculated transparently and correctly
Everything happens automatically and is made immediately visible through Discord.
Why Discord?
Discord is a communication platform widely used by gamers and online communities. Clans rely on Discord for chat, voice communication, planning, and coordination during gameplay. Since nearly every clan is already active on Discord, a bot is the most logical place to offer this type of functionality.
By building ClanSplit as a Discord bot, the system integrates directly into existing workflows, without requiring users to install additional software or use external websites.
Technical setup
ClanSplit runs on its own server and is connected to the game through secured webhooks. The bot receives game events, processes this data, and performs the required calculations before posting the results in designated Discord channels.
Access to the bot is strictly controlled:
- Only clans with valid API keys can use the bot
- API keys are linked to specific servers and clans
- Unauthorized usage is not possible
This setup ensures that the bot remains stable, secure, and scalable, even when multiple clans use it simultaneously.
Usage and adoption
After its introduction, ClanSplit was quickly well received within the community. Clans especially appreciated the transparency, time savings, and the elimination of conflicts around loot distribution. The bot is now actively used by multiple clans and has become a permanent part of their workflow.
Project scope
ClanSplit demonstrates how game data, webhooks, and Discord automation can be combined into a practical and reliable system. The project focuses on solving a concrete problem with a technical solution that fits seamlessly into existing user workflows.
It reflects my focus on automation, fair data processing, and building tools that deliver immediate value within established communities.