ImprovedFactions
Toggle table of contents
2.3.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
ImprovedFactions
ImprovedFactions
/
io.github.toberocat.improvedfactions.modules.relations.commands
/
PeaceCommand
Peace
Command
class
PeaceCommand
(
plugin
:
ImprovedFactionsPlugin
)
:
PlayerSubCommand
Members
Members & Extensions
Constructors
Peace
Command
Link copied to clipboard
constructor
(
plugin
:
ImprovedFactionsPlugin
)
Properties
args
Link copied to clipboard
@get:
NotNull
open
val
args
:
Array
<
out
@
NotNull
Argument
<
*
>
>
?
children
Link copied to clipboard
@get:
NotNull
open
val
children
:
@
NotNull
Map
<
String
?
,
SubCommand
?
>
label
Link copied to clipboard
@get:
NotNull
open
val
label
:
@
NotNull
String
parent
Link copied to clipboard
@get:
Nullable
open
val
parent
:
@
Nullable
Command
?
permission
Link copied to clipboard
@get:
NotNull
open
val
permission
:
@
NotNull
String
Functions
add
Child
Link copied to clipboard
open
fun
addChild
(
@
NotNull
command
:
@
NotNull
SubCommand
)
children
Tab
List
Link copied to clipboard
@
NotNull
open
fun
childrenTabList
(
@
NotNull
sender
:
@
NotNull
CommandSender
,
@
NotNull
args
:
Array
<
out
@
NotNull
String
>
?
)
:
@
NotNull
List
<
String
?
>
get
Child
Link copied to clipboard
@
Nullable
open
fun
getChild
(
@
NotNull
label
:
@
NotNull
String
)
:
@
Nullable
SubCommand
?
get
Config
Link copied to clipboard
@
NotNull
open
fun
getConfig
(
@
NotNull
plugin
:
@
NotNull
JavaPlugin
)
:
@
NotNull
ConfigurationSection
get
Meta
Link copied to clipboard
fun
SubCommand
.
getMeta
(
)
:
CommandMeta
?
route
Call
Link copied to clipboard
open
fun
routeCall
(
@
NotNull
sender
:
@
NotNull
CommandSender
,
@
NotNull
args
:
Array
<
out
@
NotNull
String
>
?
)
:
Boolean
route
Tab
Link copied to clipboard
@
Nullable
open
fun
routeTab
(
@
NotNull
sender
:
@
NotNull
CommandSender
,
@
NotNull
args
:
Array
<
out
@
NotNull
String
>
?
)
:
@
Nullable
List
<
String
?
>
?
?
search
Child
Link copied to clipboard
@
NotNull
open
fun
searchChild
(
@
NotNull
clazz
:
@
NotNull
Class
<
out
SubCommand
?
>
)
:
@
NotNull
Optional
<
SubCommand
?
>
show
In
Tab
Link copied to clipboard
open
fun
showInTab
(
@
NotNull
sender
:
@
NotNull
CommandSender
,
@
NotNull
args
:
Array
<
out
@
NotNull
String
>
?
)
:
Boolean