So you’re probably wondering what has changed with the spar plugin, in a single word: everything.
So in order to understand why I have overhauled the spar plugin we need to go back to when I was debugging all of my plugins after my hiatus from the server. As you probably know the spar plugin is not the most… functional piece of software known to man. However, I do like a challenge and I set out to try and rid it of all the bugs present within it. I lasted 10 minutes. The spar plugin was one of my earliest contributions to the server, and when I looked at the code it was definitely noticeable. As well as this I had noticed with the introduction of friendly fist the spar plugin became redundant, because, let’s be real, the TP gain wasn’t much of an award. So instead, I decided that I would completely rework the spar plugin in order for it to actually be something player’s would want to use.
The features of the spar plugin are as followed:
- 2 teams of 1 to 10 players
- A new method of calculating the TP award
- Changeable settings for spars
Spars consist of 2 teams trying to eliminate all of the members of the other team. Both teams have a leader who is able to invite and kick players to/from their team, if a team leader leaves the spar then the spar will be disbanded. Each team can have a maximum of 10 players inside of it, and the spar will start automatically when both teams are full. Friendly fire is disabled, so that you cannot harm your teammates.
The way the TP is calculated is that the average amount of the weakest players’ (the amount of which is how many players there are on one team) TP required to level a stat is calculated and then multiplied by 3. Then for each player in the winning team, a percentage of the TP is calculated and then awarded to the player – this percentage is individual to the player and is decreased each time the player wins a spar, until it reaches a minimum of 20%. This percentage gradually raises over time until it reaches 100%, every time a player wins a spar 20 minutes is added to the amount of time it’ll take until the player reaches 100%, with a maximum waiting time of 80 minutes.
The old spar system had 10% of the losing player’s TP required to level a stat awarded to the winning player, therefore the new system is guarenteed to yield more TP than the old one.
The following are settings the player who started the spar can change:
The players per team setting changes how many players there will be within a team.
For the location setting, there are places on the server set so that spars can take place there, if you set a location to a certain place when the spar starts it will teleport the participants to the location, where each team is placed in slightly diffent spots. If you don’t want to be teleported anywhere set it to “none”
The allowMystic settings lets you choose whether players can go into the mystic form during the spar.
The allowGod settings lets you choose whether players will be able to go into any of the god tier forms (including UI)
The countdown settings sets how long the spar will wait from when the last player joins the spar until the spar will actually begin. It is between 5 and 15 seconds.
Begins a spar with you being the leader of team 1
/spar listSettings or /spar ls
Lists the changeable settings of a spar, with their default values
/spar listLocations or /spar ll
Lists the server-set locations a spar can take place at
/spar changeSettings [setting] [new value] or /spar cs [setting] [new value]
Changes a particular setting to another value
/spar invLeader [player] or /spar il [player]
Invites the leader of team 2
/spar invite [player]
Invites a player into your team
Accepts an incoming spar invitation
Denies an incoming spar invitation
/spar cancel [player]
Cancels the request sent to a player
Displays the settings of the spar
Lists the players in the spar
Leaves the spar
/spar kick [player]
Kicks a member of your team from the spar
Checks how long you have left until you reach 100%, and what percentage of the TP you will be awards at the current time