tagplayer2.5.0
This commit is contained in:
parent
bca65157bb
commit
187c4e7cdf
21
tagplayer.sc
21
tagplayer.sc
@ -10,7 +10,7 @@ __on_start() -> (
|
||||
team_add('shadowedPlayer');
|
||||
team_property('carpetBot', '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_require_carpet_version = ['1.4.30', 210331];
|
||||
global_filename = system_info('app_name');
|
||||
@ -29,11 +29,11 @@ __config() -> {
|
||||
'allow_command_conflicts' -> true,
|
||||
'commands' -> {
|
||||
'' -> 'help',
|
||||
'<tp> <bot> <position>' -> 'tp',
|
||||
'<tp> <bot> <position> <rotation>' -> 'tp_with_rotation',
|
||||
'<tp> <bot> <player>' -> 'tp_to_player',
|
||||
'<tp> <bot> <position> atBot' -> 'tp_at_bot',
|
||||
'<tp> <bot> <position> <rotation> atBot' -> 'tp_at_bot_with_rotation',
|
||||
'tp <bot> <position>' -> 'tp',
|
||||
'tp <bot> <position> <rotation>' -> 'tp_with_rotation',
|
||||
'tp <bot> <player>' -> 'tp_to_player',
|
||||
'tp <bot> <position> atBot' -> 'tp_at_bot',
|
||||
'tp <bot> <position> <rotation> atBot' -> 'tp_at_bot_with_rotation',
|
||||
'spawn <player>' -> ['summon',null,null,null],
|
||||
'spawn <player> at <position>' -> ['summon',null,null],
|
||||
'spawn <player> at <position> facing <rotation>' -> ['summon',null],
|
||||
@ -100,15 +100,6 @@ __config() -> {
|
||||
'reload' -> 'reload'
|
||||
},
|
||||
'arguments' -> {
|
||||
'tp' -> {
|
||||
'type' -> 'term',
|
||||
'suggester' -> _(args) -> (
|
||||
if(global_config:'allow_bot_tp' == 'true',
|
||||
return(['tp']);
|
||||
,(return(null));
|
||||
);
|
||||
);
|
||||
},
|
||||
'dimension' -> {
|
||||
'type' -> 'term',
|
||||
'suggest' -> ['overworld','the_nether','the_end']
|
||||
|
Loading…
Reference in New Issue
Block a user