Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands #487

Draft
wants to merge 61 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
28e96f2
Commands (part 1)
Iaiao Sep 8, 2021
52f7be1
Implement entity selectors
Iaiao Sep 14, 2021
06b37eb
Fix /clear, InventoryUpdateEvent, client.send_slot_item
Iaiao Sep 14, 2021
2e7eba4
Move to commands (it's a temporary name)
Iaiao Sep 21, 2021
ee976bd
Add Text::translate
Iaiao Sep 21, 2021
66702e1
Change "Command not found" message to the same as vanilla
Iaiao Sep 21, 2021
1332616
Merge branch main to commands
Iaiao Sep 21, 2021
f925bac
Optimize dispatcher
Iaiao Sep 21, 2021
18ef114
Implement tab completion
Iaiao Sep 21, 2021
c310616
Command support for plugins
Iaiao Sep 23, 2021
170495d
Better support for wasm, added plugin to CommandContext and some fixes
Iaiao Sep 24, 2021
d21a53f
Rename dispatcher.split to dispatcher.to_parts
Iaiao Sep 24, 2021
4e3acde
Update commands
Iaiao Sep 24, 2021
00f9353
Update commands
Iaiao Sep 26, 2021
e60cf5c
Remove unsafe send + sync impl for LifetimelessMut
Iaiao Sep 26, 2021
49624b5
Add plugins/ to .gitignore
Iaiao Sep 26, 2021
887cbc5
Update commands
Iaiao Sep 26, 2021
8562a8d
Use translate_with in /me
Iaiao Sep 26, 2021
a95dda4
/gamemode + entity selector matching
Iaiao Sep 27, 2021
0a7d368
/clear
Iaiao Sep 30, 2021
5a0b355
merge branch main to commands
Iaiao Sep 30, 2021
0c7cfe2
Implement banned-players.json and banned-ips.json
Iaiao Oct 3, 2021
0272b8d
Add RealIp component
Iaiao Oct 3, 2021
3e01e21
FlyingAbilityChangeEvent, BuildingAbilityChangeEvent, Invulnerability…
Iaiao Oct 3, 2021
2054d1d
/ban
Iaiao Oct 3, 2021
2fbf567
Send PlayerAbilities after changing gamemode
Iaiao Oct 3, 2021
b75b6f2
/ban-ip
Iaiao Oct 6, 2021
9f13f3f
change string argument to message argument in /ban, /ban-ip
Iaiao Oct 10, 2021
13c2d6b
Kick banned players + better error handling
Iaiao Oct 10, 2021
1d8219e
/pardon, /pardon-ip
Iaiao Oct 12, 2021
e19b420
Update commands
Iaiao Oct 13, 2021
0d9f228
Fix /clear & use new way to add optional arguments
Iaiao Oct 13, 2021
44f80b6
Use new optional arguments in all commands
Iaiao Oct 13, 2021
a5cc104
Add messages for /gamemode command
Iaiao Oct 13, 2021
c0d7fec
Remove LifetimelessMut
Iaiao Oct 13, 2021
dbbec0f
Fix clippy warnings
Iaiao Oct 13, 2021
7877e30
Create get_name() and some minor improvements
Iaiao Oct 13, 2021
3dfbe8e
/say
Iaiao Oct 13, 2021
7f8d4d3
Fix clippy warning
Iaiao Oct 13, 2021
2509f61
Console commands (tab-completion doesn't work)
Iaiao Oct 14, 2021
fe0447e
Tab completion for console
Iaiao Oct 17, 2021
e7272f0
Tab completion start/end position
Iaiao Oct 17, 2021
ed4867f
Syntax highlighting
Iaiao Oct 17, 2021
bae1014
Make the command input line bold
Iaiao Oct 17, 2021
50e93bf
Fix purple and bold
Iaiao Oct 17, 2021
7b92acf
Use try_send on bounded tab-completion channels
Iaiao Oct 18, 2021
716f95d
Added cli options edit_mode and tab_completion_type to config.toml
Iaiao Oct 18, 2021
675b760
Update commands
Iaiao Oct 18, 2021
01ec330
/execute
Iaiao Oct 21, 2021
ac1f6df
/execute at
Iaiao Oct 21, 2021
27a8bcb
/execute align
Iaiao Oct 21, 2021
e972d38
/execute anchored
Iaiao Oct 21, 2021
849a399
Add tab completions for all existing commands
Iaiao Oct 21, 2021
4ff9674
Fix double-free after plugin command execution
Iaiao Oct 21, 2021
dce41aa
/banlist
Iaiao Oct 22, 2021
b4ffc63
Update commands
Iaiao Oct 22, 2021
960e775
/time
Iaiao Oct 22, 2021
7e799a4
/defaultgamemode
Iaiao Oct 22, 2021
e1a1404
/setblock
Iaiao Oct 23, 2021
7b37553
/seed
Iaiao Oct 23, 2021
210fed5
Change seed type to i64 and rewrite hashcode implementation
Iaiao Oct 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@
.cargo

world/
/config.toml
feather/downloaded
feather/datapacks/minecraft/
config.toml
plugins
banned-players.json
banned-ips.json
usercache.json
.feather_command_history

# Python cache files (libcraft)
**/__pycache__/
Expand Down
Loading