mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-26 22:02:40 +00:00
refactored command responses to use a central place for configuration in an extra module
fixed makeAffected role parameter made command check name case insensitive added name to parameter for decayAllWarnings removed simple log from message edited listener
This commit is contained in:
@@ -1 +0,0 @@
|
||||
Changes the experience scale of this server to the new given value.
|
||||
@@ -1,2 +0,0 @@
|
||||
Changes the experience scale on this server. This will only affect messages in the future. This scales the experience *after* the calculation has been done.
|
||||
So if the range is 10-25, a random experience in this range will be determined and *then* multiplied by this scale.
|
||||
@@ -1 +0,0 @@
|
||||
expScale <newValue>
|
||||
@@ -1 +0,0 @@
|
||||
Shows 10 places of the leader board of this server.
|
||||
@@ -1,3 +0,0 @@
|
||||
Shows 10 members of the sever in the form of a leader board.
|
||||
The information include posted messages/gained experience/current level and rank within the server.
|
||||
An optional parameter is possible to chose a page. So, `leaderboard 3` would show members from rank 30 to 40.
|
||||
@@ -12,7 +12,7 @@
|
||||
"b": 255
|
||||
},
|
||||
"description": "
|
||||
Rank | Name | Experience | Level | Messages
|
||||
<#include "leaderboard_rank_column"> | <#include "leaderboard_name_column"> | <#include "leaderboard_experience_column"> | <#include "leaderboard_level_column"> | <#include "leaderboard_messages_column">
|
||||
<#list userExperiences as user>
|
||||
<@userDisplay user=user />
|
||||
</#list>
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
leaderboard [page]
|
||||
@@ -1 +0,0 @@
|
||||
Shows you your current experience information.
|
||||
@@ -1 +0,0 @@
|
||||
Shows your messages, tracked experience, current level and the experience needed to the next level.
|
||||
@@ -10,27 +10,27 @@
|
||||
},
|
||||
"fields": [
|
||||
{
|
||||
"name": "XP",
|
||||
"name": "<#include "rank_xp_field_title">",
|
||||
"value": "${rankUser.experience.experience}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
"name": "Level",
|
||||
"name": "<#include "rank_level_field_title">",
|
||||
"value": "${rankUser.experience.currentLevel.level}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
"name": "Messages",
|
||||
"name": "<#include "rank_messages_field_title">",
|
||||
"value": "${rankUser.experience.messageCount}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
"name": "XP to next Level",
|
||||
"name": "<#include "rank_to_next_level_field_title">",
|
||||
"value": "${experienceToNextLevel}",
|
||||
"inline": "true"
|
||||
},
|
||||
{
|
||||
"name": "Rank",
|
||||
"name": "<#include "rank_rank_field_title">",
|
||||
"value": "${rankUser.rank}",
|
||||
"inline": "true"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
rank
|
||||
@@ -1 +0,0 @@
|
||||
Sets the given role to be awarded at the given level
|
||||
@@ -1,2 +0,0 @@
|
||||
This causes the given role to be awarded at the given level. This will remove previously levels this role was assigned to, and also recalculate the users of the previous levels.
|
||||
This will not, however, award the users the new role immediately. This needs to be done by a separate `syncExpRole`.
|
||||
@@ -1 +0,0 @@
|
||||
setExpRole <level> <role>
|
||||
@@ -1 +0,0 @@
|
||||
Synchronizes the roles of all users with their respective level.
|
||||
@@ -1,3 +0,0 @@
|
||||
This is a process, which iterates over all tracked users and checks if the current experience role aligns with what they should have according to configuration.
|
||||
If this is not the case, the role is updated. This is necessary after you added a new role to the experience system. This process might take a while to complete
|
||||
and a progress indicator is shown.
|
||||
@@ -1 +0,0 @@
|
||||
syncRoles
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"additionalMessage": "Updating users: ${currentCount}/${totalUserCount}."
|
||||
"additionalMessage": "<#include "syncExpRoles_updating_users_label">: ${currentCount}/${totalUserCount}."
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
Removes the role from experience role tracking.
|
||||
@@ -1,3 +0,0 @@
|
||||
Removes the role from experience tracking, so users do not gain the role when they reach the configured level.
|
||||
Executing this means that users currently owning this role, lose it and their role will be recalculated.
|
||||
This process might take a while depending on the users. A progress indicator is shown
|
||||
@@ -1 +0,0 @@
|
||||
unSetExpRole <role>
|
||||
Reference in New Issue
Block a user