Skip to content
Simply-XP
Documentation
GitHub
English
English
Français
日本語
v2.0
next
v2.0
v1.4
v1.3
v1.2
Search
Menu
👋 Welcome!
⚠️ Breaking Changes
📜 Changelogs
⬆️ Migration
📖 Plugin Registry
Classes
Database
LevelRoles
Migrate
XpEvents
Functions
addLevel
addXP
charts
clean
compareCard
connect
convertFrom
create
fetch
https
leaderboard
leaderboardCard
rankCard
registerFont
registerPlugins
removeLevel
removeXP
reset
setFlags
setLevel
setXP
unregisterPlugins
updateOptions
Plugin Development
compatibility
template
Types
CardUserOptions
ChartOptions
CleanOptions
CompareCardLocales
CompareCardOptions
ConnectionOptions
GetRolesOptions
HttpsOptions
LeaderboardCardLocales
LeaderboardCardOptions
LevelRole
LevelRoleOptions
LevelRoleResult
NewClientOptions
Plugin
RankCardLocales
RankCardOptions
RoleSetupObject
User
UserOptions
UserResult
XPClient
XpEventCallback
XpResult
Simply-XP
Documentation
GitHub
English
Français
日本語
next
v2.0
v1.4
v1.3
v1.2
GetRolesOptions
Types
GetRolesOptions
Version: v2.0
On this page
Type
Options for
LevelRoles.getUserRoles()
.
Property
Type
Optional
Description
includeCurrent
boolean
✅
Include roles for the user’s current level.
includeNext
boolean
✅
Include roles for levels greater than the user.
includePrevious
boolean
✅
Include roles for levels lower than the user.
Previous
ConnectionOptions
Next
HttpsOptions