Рома Данилов
87302bafab
Keep track of current game mode ( #1053 )
...
* GetGamemode()
* GetGamemode()
* ChangeGamemode()
* GetGamemode()
* Update ChatBot.cs
code refractor
* Update Inventory.cs
Gamemode check added
* Update Protocol18.cs
* Update Protocol18.cs
* Update Protocol18.cs
code refractor
* Update IMinecraftComHandler.cs
code refractor
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
fix
* Update McTcpClient.cs
fix
* Fix duplicate gamemode event
Co-authored-by: ORelio <oreliogitantispam.l0gin@spamgourmet.com>
2020-06-13 15:00:30 +02:00
Рома Данилов
b800bbcb37
ConsoleIcon support Windows 10 on new Console & OnLatencyUpdate Event ( #1044 )
...
* new ConsoleIcon support
* Update ChatBot.cs
+ OnLatencyUpdate
* Update McTcpClient.cs
+ OnLatencyUpdate
* Update Protocol18.cs
+ OnLatencyUpdate
* Update IMinecraftComHandler.cs
+ OnLatencyUpdate
* Update Protocol18.cs
+ BugFix
* Update ConsoleIcon.cs
2020-06-07 13:16:49 +02:00
ORelio
20fb2323a4
Read all files as UTF-8 ( #1035 )
...
Fix encoding issues with some languages such as Chinese
by forcing UTF-8 everywhere. Configuration files written
in ANSI/Latin-1 and other encodings will need conversion.
2020-05-29 20:23:03 +02:00
Рома Данилов
cf9bc4c3d5
Add SendPlaceBlock, PlayerDigging, OnExplosion, OnGamemodeUpdate, OnSetExperience ( #1027 )
...
* Update ChatBot.cs
+ PlaceBlock
* Update AutoAttack.cs
+ HitAnimation
* Update PacketIncomingType.cs
+ Explosion,
* Update McTcpClient.cs
+ OnExplosion
* Update ChatBot.cs
+ OnExplosion
* Update IMinecraftComHandler.cs
+ OnExplosion
* Update Protocol18PacketTypes.cs
+ PacketIncomingType.Explosion
* Update ChatBot.cs
+ Fix
* Update AutoAttack.cs
+ Fix
* Update ChatBot.cs
+ Fix
* Update Protocol18PacketTypes.cs
+ Old versions
* Update Protocol18PacketTypes.cs
+ 1.7 - 1.8 Explosion ID
* Update Protocol18PacketTypes.cs
+ Fix
* Update McTcpClient.cs
+ int ExplosionRecordCount
* Update ChatBot.cs
+ recordcount
* Update IMinecraftComHandler.cs
+ ExplosionRecordCount
* Update Protocol18.cs
* Update CSharpRunner.cs
+ using MinecraftClient.Inventory;
* add OnGamemodeUpdate
+ OnGamemodeUpdate
* + OnGamemodeUpdate(playername, uuid, gamemode)
+ OnGamemodeUpdate
* Update Protocol18.cs
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
Fix
* Update McTcpClient.cs
* Update Protocol18.cs
+ Location explodelocation
* Update McTcpClient.cs
+ Location explode
* Update ChatBot.cs
+ Fix
* Update ChatBot.cs
Remove excess +
* Update Plays animation
* Improve documentation
* ItemType fix
* OnExplosion(Location explod);
* Update PacketIncomingType.cs add SetExperience,
* + Old versions
* Update IMinecraftComHandler.cs
* Update McTcpClient.cs
* Update Protocol18.cs
* add GetLevel & GetTotalExperience
* Fix
* add GetLevel & GetTotalExperience
* OnSetExpience
* Update ChatBot.cs
Fix
* Update McTcpClient.cs
+ bot.OnSetExperience
* Update Protocol18.cs
+ Fix
* Update McTcpClient.cs
+ PlayerDigging
* Update PacketOutgoingType.cs
+ PlayerDigging
* Update Protocol18PacketTypes.cs
+ case PacketOutgoingType.PlayerDigging
* Update Protocol18.cs
+ SendPlayerDigging
* Update IMinecraftCom.cs
+ SendPlayerDigging
* Update McTcpClient.cs
+ PlayerDigging
* Update Protocol16.cs
+ SendPlayerDigging
* Update ChatBot.cs
+ PlayerDigging
* Update ChatBot.cs
+ Fix
* Update McTcpClient.cs
+ Fix
* Update ChatBot.cs
Add WindowAction
* ChatBot.cs Fixes
* Further ChatBot.cs fixes
* Further ChatBot.cs fixes
* Protocol Handler fixes
* Protocol Handler fixes
* IMinecraftCom fixes
* documentation fixes
Co-authored-by: ORelio <oreliogitantispam.l0gin@spamgourmet.com>
2020-05-29 20:18:34 +02:00
ORelio
efb49fd05d
Improve documentation, fix file encoding ( #1026 )
2020-05-26 11:20:12 +02:00
Рома Данилов
87b2d3bf4a
new command /animation ( #1026 )
2020-05-26 11:02:09 +02:00
ORelio
23870711a0
Code refactoring (related to #1024 )
2020-05-25 21:39:24 +02:00
Рома Данилов
d120001d70
Add Entity.Name & /inventory 0 creative <slot> <itemtype> <count> ( #1024 )
...
* Update Program.cs
* Update Entity.cs
Add Entity.Name
* Update Program.cs
* Update Entity.cs
Add break;
* Update Entity.cs
* Update Inventory.cs
Add /inventory 0 creative <slot> <item> <count>
* Update PacketOutgoingType.cs
+ CreativeInventoryAction
* Update Protocol16.cs
+ SendCreativeInventorAction
* Update Protocol18.cs
+ SendCreativeInventorAction
* Update IMinecraftCom.cs
+ SendCreativeInventorAction
* Update McTcpClient.cs
+ DoCreativeInventorAction
* Update ChatBot.cs
+ CreativeInventorAction
* Update McTcpClient.cs
* Update ChatBot.cs
* Update Inventory.cs
Add show count
* Update ChatBot.cs
+ ChatBot fix
* Update Inventory.cs
Inventory update and Fix
* Update Entity.cs
* Update McTcpClient.cs
* Update Program.cs
* Update Protocol16.cs
* Update Protocol18.cs
* Update IMinecraftCom.cs
* Update Entity.cs
2020-05-25 21:16:53 +02:00
5tanly
a018304f99
Strip Minecraft Color Codes (§) in BasicIO-NoColor mode ( #995 )
...
Strip Minecraft color codes and formatting (§) if in BasicIO mode by using BasicIO-NoColor.
2020-05-14 19:36:56 +02:00
CarbonNeuron
0cd7f2043b
Rename Action to EntityActionType, Apply Rename refactoring.
2020-05-03 11:21:34 -05:00
CarbonNeuron
a78623bf84
Rename SendAction to SendEntityAction in ChatBot.cs
2020-05-03 10:52:58 -05:00
CarbonNeuron
add1dd2dcd
Merge Unseak and sneak into one function
2020-05-03 10:51:50 -05:00
CarbonNeuron
7207a9ea0e
Get rid of UseItemOnHand, in ChatBot.cs, function called UseItemInHand already does this (Same function).
2020-05-03 10:48:02 -05:00
CarbonNeuron
799bc814c5
Add Chatbot API for Sneaking / Unsneaking without using SendAction
2020-05-02 03:55:23 -05:00
CarbonNeuron
b2075bb811
Add Chatbot API for accessing SendAction for things like Shift/Unshift
2020-05-02 03:53:39 -05:00
CarbonNeuron
89c97c794c
Add Chatbot API for accessing Using Hand and changing slot
2020-05-02 03:52:17 -05:00
CarbonNeuron
8b57b657e6
Add ChatBot methods to get inventories.
2020-05-01 10:52:43 -05:00
CarbonNeuron
02ebf067b9
Add Internal command logging.
2020-05-01 09:37:15 -05:00
ORelio
9dae40153c
Implement pull request #982
...
LookAtLocation and AutoLook
2020-05-01 14:02:23 +02:00
ReinforceZwei
3e76baeeb1
Fix AutoAttack stop working with AutoEat enabled and no food on hotbar
...
#934
2020-04-13 17:49:24 +02:00
ReinforceZwei
8e32c3747c
Revert "Improve AutoEat"
...
This reverts commit 51f54979da .
2020-04-13 17:49:24 +02:00
ReinforceZwei
e9d91ce572
Improve AutoEat
2020-04-13 17:49:24 +02:00
ReinforceZwei
97b0b03c33
Move AutoEat to a ChatBot
2020-04-09 20:50:34 +02:00
ReinforceZwei
2e1e79bcef
Add AutoEat
...
#923
2020-04-09 20:50:34 +02:00
ORelio
c5b0f447c9
AutoRelog: Allow any kick message
...
Set ignorekickmessage=true in config
See issues #880 #921
2020-04-02 18:27:18 +02:00
ORelio
00112e4c6a
Give access to AutoRespond matches inside scripts
...
Available as %match_u%, %match_1% and so on
See #770 for initial suggestion
See #772 for in-progress implementation
2020-03-27 21:39:06 +01:00
ReinforceZwei
bc449b404e
Inventory handling
2020-03-27 13:10:37 +01:00
ReinforceZwei
7fbf9443a1
Made ChatBotAPI OnEntityDespawn to pass Entity object instead of EntityID
2020-03-24 19:23:59 +01:00
ReinforceZwei
dbf5334758
Moved Auto attack and auto fishing to ChatBots and added ChatBotAPI for entity handling
2020-03-24 19:23:59 +01:00
ORelio
52d98538b3
Fix AutoRelog running twice on disconnection
...
Bug introduced in commit aaf1e8311b
Implement User-Initiated logout reason to ignore the second logout event
See #817
2019-12-08 22:24:20 +01:00
TheSnoozer
d4aa63d1d3
fix some doc strings
2019-10-03 09:46:08 +02:00
TheSnoozer
3393e7e402
report the full path when loading any files which might help in troubleshooting files not found properly
2019-09-23 22:32:28 +02:00
TheSnoozer
f209130464
https://github.com/ORelio/Minecraft-Console-Client/issues/729 : allow to use GetServerPort/GetServerHost/GetUsername/GetUserUUID in MCC scripts
2019-09-21 14:42:00 +02:00
ORelio
a6e660c974
Enable/Disable TerrainAndMovements while logged in
...
Feature requested in #705
2019-04-28 21:32:03 +02:00
TheSnoozer
33edd15c9b
https://github.com/ORelio/Minecraft-Console-Client/issues/625 : add GetOnlinePlayersWithUUID() which allows to retrive a UUID <-> playerName relation
2019-04-22 14:22:14 +02:00
ORelio
80d51ede31
Chat Format: increase priority of custom regex
...
If a custom regex is defined in config, process it first.
Previous behavior was to process builtins first.
Should reduce issues with custom regex and builtins=true
2019-04-17 05:32:31 +02:00
ORelio
dc09896959
Allow access to raw JSON messages from ChatBot
...
See #275
2017-05-31 20:54:16 +02:00
ORelio
dda2ce293c
Add LogDebugToConsole() ChatBot API method
...
Allows printing debug messages.
Debug messages are shown only if the "debugmessages" setting is enabled.
See #223
2017-03-14 22:04:35 +01:00
ORelio
76beb31eaf
ChatBot: Add exception on constructor API call
...
See #220
2017-03-13 22:11:04 +01:00
ORelio
59b12ff900
ChatBot: Allow delay in ReconnectToTheServer()
...
See #252
2017-03-13 21:15:36 +01:00
ORelio
b1d5d0b32e
Add GetOnlinePlayers() in ChatBot API
...
Suggestion by mattjbenson
2016-10-14 21:14:26 +02:00
ORelio
f5575d7f8b
Update bot making documentation in ChatBot.cs
...
+ Add GetVarAsDouble in Script API (See #200 )
2016-09-11 20:11:01 +02:00
ORelio
461385d057
Ignore tab list items not containing a valid name
...
For cleaner /list output without "???tab"
placeholders eg from TabListPlus.
2016-08-22 23:15:19 +02:00
ORelio
67fc431d4a
Add location getter and setter location in ChatBot
...
See #146
2016-05-04 23:47:08 +02:00
ORelio
a52fb61358
lastMessageSentTime does not needs to be optional
2016-02-27 17:59:08 +01:00
ORelio
7ff9d3bb37
IsPrivateMessage(): Case insensitive 'me' for PM
2016-02-27 17:56:47 +01:00
Pokechu22
6d4ec86619
Add an "AfterGameJoined" method to ChatBot.cs.
...
Since messages can't be sent in Initialize(), a method that's called when the chat bot can first send messages is needed. This method is called when the login completes or when the bot is loaded if the login is already been completed.
2016-02-07 14:55:29 -08:00
Pokechu22
1ea8f119d9
Give ChatBots access to plugin channels.
...
Chatbots may find it useful to send messages over plugin channels. This allows REGISTERing, UNREGISTERing, and sending over plugin channels, with built-in checking if the server also registered the channel (which can be disabled by the bot if needed). Unused channels are UNREGISTERed when a bot is disabled.
2016-02-07 14:55:10 -08:00
ORelio
bdbd8ab0b8
Remove debug printing line in ChatParser
...
See #107
2016-01-31 19:09:08 +01:00
Pokechu22
207732cd86
Add an option to add a delay between bot message
...
Because bots can send several messages quickly, this adds an option to slow down the rate at which messages are produced (to avoid issues with antispam plugins). This should help solve part of the troubles @mobdon was having in #105 .
Right now the default time is 2 seconds per message. However, messages are sent imediately if the bot doesn't need to delay (so if it's a bot that only outputs one or two messages, those will still happen imediately). Also, note that it's limited per-bot right now.
I also added an optional parameter to the SendText method so that bots can avoid this behavior if they need to. In some cases, they'll want to send multiple messages.
2016-01-29 16:18:59 -08:00