tagplayer2.5.0
This commit is contained in:
+6
-15
@@ -10,7 +10,7 @@ __on_start() -> (
|
|||||||
team_add('shadowedPlayer');
|
team_add('shadowedPlayer');
|
||||||
team_property('carpetBot', 'prefix', '假的');
|
team_property('carpetBot', 'prefix', '假的');
|
||||||
team_property('shadowedPlayer', 'prefix', '挂机');
|
team_property('shadowedPlayer', 'prefix', '挂机');
|
||||||
global_version = '2.5.0';
|
global_version = '2.4.0';
|
||||||
global_carpet_version = split('\\+v',system_info('scarpet_version'));
|
global_carpet_version = split('\\+v',system_info('scarpet_version'));
|
||||||
global_require_carpet_version = ['1.4.30', 210331];
|
global_require_carpet_version = ['1.4.30', 210331];
|
||||||
global_filename = system_info('app_name');
|
global_filename = system_info('app_name');
|
||||||
@@ -29,11 +29,11 @@ __config() -> {
|
|||||||
'allow_command_conflicts' -> true,
|
'allow_command_conflicts' -> true,
|
||||||
'commands' -> {
|
'commands' -> {
|
||||||
'' -> 'help',
|
'' -> 'help',
|
||||||
'<tp> <bot> <position>' -> 'tp',
|
'tp <bot> <position>' -> 'tp',
|
||||||
'<tp> <bot> <position> <rotation>' -> 'tp_with_rotation',
|
'tp <bot> <position> <rotation>' -> 'tp_with_rotation',
|
||||||
'<tp> <bot> <player>' -> 'tp_to_player',
|
'tp <bot> <player>' -> 'tp_to_player',
|
||||||
'<tp> <bot> <position> atBot' -> 'tp_at_bot',
|
'tp <bot> <position> atBot' -> 'tp_at_bot',
|
||||||
'<tp> <bot> <position> <rotation> atBot' -> 'tp_at_bot_with_rotation',
|
'tp <bot> <position> <rotation> atBot' -> 'tp_at_bot_with_rotation',
|
||||||
'spawn <player>' -> ['summon',null,null,null],
|
'spawn <player>' -> ['summon',null,null,null],
|
||||||
'spawn <player> at <position>' -> ['summon',null,null],
|
'spawn <player> at <position>' -> ['summon',null,null],
|
||||||
'spawn <player> at <position> facing <rotation>' -> ['summon',null],
|
'spawn <player> at <position> facing <rotation>' -> ['summon',null],
|
||||||
@@ -100,15 +100,6 @@ __config() -> {
|
|||||||
'reload' -> 'reload'
|
'reload' -> 'reload'
|
||||||
},
|
},
|
||||||
'arguments' -> {
|
'arguments' -> {
|
||||||
'tp' -> {
|
|
||||||
'type' -> 'term',
|
|
||||||
'suggester' -> _(args) -> (
|
|
||||||
if(global_config:'allow_bot_tp' == 'true',
|
|
||||||
return(['tp']);
|
|
||||||
,(return(null));
|
|
||||||
);
|
|
||||||
);
|
|
||||||
},
|
|
||||||
'dimension' -> {
|
'dimension' -> {
|
||||||
'type' -> 'term',
|
'type' -> 'term',
|
||||||
'suggest' -> ['overworld','the_nether','the_end']
|
'suggest' -> ['overworld','the_nether','the_end']
|
||||||
|
|||||||
Reference in New Issue
Block a user