Botting: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
(better lin)
 
(19 intermediate revisions by 7 users not shown)
Line 1: Line 1:
Botting is automated resource gathering, usually done using [[#Macromod|Macromod]], but [[#Alternatives|other bot frameworks]] are used too.
'''Botting''' is automated resource gathering, usually done using [[#Macromod|Macromod]], but [[#Alternatives|other bot frameworks]] are used too. Historically botting is the result of requiring enormous amounts of crops to make [[Experience|experience]], combined with the hands-off admin policy on CivCraft.


== Botting Rules ==
Historically botting is the result of requiring enormous amounts of crops to [[Enchanting#Acquiring_Experience|make exp]], combined with the hands-off admin policy on CivCraft.
{{Quote box

| quote = Bots and mods are generally allowed as long they adhere to vanilla Minecraft behavior and work by the following rules:
== Rules ==
• Bots and mods must follow all vanilla behavior including but not limited to: Physics, Occlusion, Movement, etc.

• Bots and mods may not be used to discover information that would be otherwise unknown
From [https://www.reddit.com/r/civclassics/wiki/rules the subreddit].
| author = [https://discord.gg/HkD79GfmQQ CivMC Discord Rules]

| source = CivMC's Discord
We allow players to use MacroMod or other mods/clients to automate ingame tasks and you may use any external framework to communicate with and coordinate your bots.
| width = 80%
| align = center
}}
{{Quote box
| quote = We allow players to use MacroMod or other mods/clients to automate ingame tasks and you may use any external framework to communicate with and coordinate your bots.


All bots must adhere to the following rules:
All bots must adhere to the following rules:
Line 16: Line 21:


* You are only allowed to read server provided chat messages, not ones generated by client side mods
* You are only allowed to read server provided chat messages, not ones generated by client side mods
| author = [https://old.reddit.com/r/civclassics/wiki/rules CivClassic rules]
| source = Botting, accessed February 2020
| width = 80%
| align = center
}}
==Recommended Mods (1.18.2)==


*[https://www.curseforge.com/minecraft/mc-mods/jsmacros js-macros] is a Fabric mod that allows scripting in JavaScript (or Python2, Python3, Lua, Ruby, Groovy, Kotlin and WASM with extensions)
== Macromod ==


===Script collections===
Macromod allows you to bind chat commands and scripts to keyboard keys, mouse buttons and custom menus.


*[https://github.com/TheOrangeWizard/jsmacros Orange Wizard's jsMacros library]
You can download existing scripts or create your own.


*[https://github.com/TheOrangeWizard/am-libs Orange Wizard's AM library]
=== Installing Macromod ===
* [https://github.com/SpiderString/spider-ppa SpiderString_'s Cobweb package manager for AM scripts]


==Macromod==
# Download and install [http://www.liteloader.com/download LiteLoader] if you haven't already
# Download [https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/1275039-macro-keybind-mod Macromod] and move the <code>.jar</code> file to your <code>.minecraft/mods/</code> folder


Macromod allows you to bind chat commands and scripts to keyboard keys, mouse buttons and custom menus.
=== Learning Macromod ===
Although Macromod will not be updated to the latest Minecraft versions anymore, you can still connect to the server with a 1.12 client with Macromod installed, to benefit from the many existing scripts made for it.


===Installing Macromod===
* Tutorials: [https://mkb.gorlem.ml/tutorial/the-basics Basics], [https://mkb.gorlem.ml/tutorial/emulating-methods Methods]
* [https://mkb.gorlem.ml/wiki/commands All available commands]
* [https://discord.gg/7YwmjD3 Discord server for botting/scripting on CivClassics]


#Download and install [http://www.liteloader.com/download LiteLoader]
=== Macromod Script Collections ===
#Download [https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/1275039-macro-keybind-mod Macromod] and move the <code>.jar</code> file to your <code>.minecraft/mods/</code> folder


=== Learning Macromod===
* [https://pastebin.com/u/Sanwi Sanwi's scripts]
* [https://mkb.gorlem.ml/scripts/list more scripts]


*Tutorials: [https://mkb.gorlem.ml/tutorial/the-basics Basics], [https://mkb.gorlem.ml/tutorial/emulating-methods Methods]
== Advanced Macros ==
*[https://mkb.gorlem.ml/wiki/commands All available commands]
*[https://discord.gg/7YwmjD3 Discord server for botting/scripting on CivClassics]''(Low activity as of February 2020)''


===Macromod Script Collections===
[https://www.curseforge.com/minecraft/mc-mods/advanced-macros Advanced Macros] is a Forge mod that allows scripting in Lua and binding scripts to events and keys in a similar manner to Macromod. Advanced Macros is generally accepted as more powerful and reliable, but can be more difficult for newcomers to learn.


* [https://pastebin.com/u/Sanwi Sanwi's scripts]
=== Alternatives ===
*[https://mkb.gorlem.ml/scripts/list More scripts]
*Tangent's Macros : [https://old.reddit.com/r/civclassics/comments/8kjdwa/tangents_macros_part_1_automanaclaim/ (1)], [https://old.reddit.com/r/civclassics/comments/8kockf/tangents_macros_part_2_sticky_keys/ (2)], [https://old.reddit.com/r/civclassics/comments/8kqh1s/tangents_macros_part_3_semiautomining_tunnel/ (3)], [https://old.reddit.com/r/civclassics/comments/8leop0/tangents_macros_part_4_autologout_snitch_distance/ (4)]

==Alternatives==


Since rendering the game is quite expensive and some bots need to run all day, people created Minecraft clients that run from the console/terminal/command line:
Since rendering the game is quite expensive and some bots need to run all day, people created Minecraft clients that run from the console/terminal/command line:


* [https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/1263927-win-mac-linux-minecraft-console-client Minecraft Console Client]
*[https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-tools/1263927-win-mac-linux-minecraft-console-client Minecraft Console Client]
* [https://github.com/Maxopoly?utf8=✓&tab=repositories&q=angelia Angelia] by Maxopoly
* [https://github.com/Maxopoly?utf8=✓&tab=repositories&q=angelia Angelia] by Maxopoly (Java)
* [https://github.com/PrismarineJS/mineflayer Mineflayer]
*[https://github.com/PrismarineJS/mineflayer Mineflayer] (Javascript)
* [https://github.com/Gjum/Botlin Botlin] (Kotlin)
[https://wiki.vg/Client_List List of other clients].


== Farming Methods ==
==Farming Methods==


Before building huge Redstone-powered farms, make sure they're within the [[Plugins#BlockLimits|limits]], you can often use water streams as a replacement.
Before building Redstone-powered farms, ensure they do not exceed redstone [[Comprehensive_Guide:World#BlockLimits|chunk limits]] (water streams can often be used as a replacement).


=== Obsidian===
Build farms to produce a multiple or a specific fraction of the required amount (for [[Exp]] etc.) to make planning easier.

=== Obsidian ===


[[File:ObbyGen.png|thumb|Obsidian generator]]
[[File:ObbyGen.png|thumb|Obsidian generator]]


Thanks to the [[Plugins#SimpleAdminHacks|SimpleAdminHacks plugin]], Obsidian can be generated using String and Lava. An ideal place to set up such an Obsidian generator is between several cave spider spawners. Hooking those up to an automatic system killing the spiders and moving the String to a bot player allows for generating an almost infinite amount of Obsidian without actually playing the game.
Due to the [[SimpleAdminHacks|SimpleAdminHacks plugin]], Obsidian can be generated using String and Lava. An ideal place to set up such an Obsidian generator is between several cave spider spawners. Hooking those up to an automatic system killing the spiders and moving the String to a bot player allows generating large amounts of obsidian automatically.

[https://www.reddit.com/r/civclassics/comments/6krupj/h_simple_obby_miner_script_w_nothing_have_fun/ Example setup, script, and usage instructions]


[https://www.reddit.com/r/civclassics/comments/6krupj/h_simple_obby_miner_script_w_nothing_have_fun/ Example setup, script, and usage instructions.]
=== Portal Farms ===


===Portal Farms===
Even though there is no Nether dimension, Nether portals still spawn Pigmen. This can be used to make AFK gold farms by surrounding the player with lots of portals and putting open trapdoors on their bottom edges, allowing the Pigmen to walk and fall down into a water collection and killing system. Note that mob AI is disabled for entities more than 10 blocks away from the player, so only portals within that range will be effective.


Although there is no Nether dimension, Nether portals still spawn Pigmen. This can be used to make AFK gold farms by surrounding the player with lots of portals and putting open trapdoors on their bottom edges, allowing the Pigmen to walk and fall down into a water collection and killing system. Note that mob AI is disabled for entities more than 10 blocks away from the player, so only portals within that range will be effective.
[[Category:Civclassic]]
[[Category:In_Progress]]
[[Category:Mechanics]]

Latest revision as of 19:29, 23 November 2023

Botting is automated resource gathering, usually done using Macromod, but other bot frameworks are used too. Historically botting is the result of requiring enormous amounts of crops to make experience, combined with the hands-off admin policy on CivCraft.

Botting Rules

Bots and mods are generally allowed as long they adhere to vanilla Minecraft behavior and work by the following rules:

• Bots and mods must follow all vanilla behavior including but not limited to: Physics, Occlusion, Movement, etc.

• Bots and mods may not be used to discover information that would be otherwise unknown

CivMC Discord Rules, CivMC's Discord

We allow players to use MacroMod or other mods/clients to automate ingame tasks and you may use any external framework to communicate with and coordinate your bots.

All bots must adhere to the following rules:

  • Bots are allowed to read any inventory, their selected hot bar slot, their own location, their health, their hunger, their potion effects, their EXP, their boss bar, chat messages, kick reasons, player logins/logouts, the tab list and nothing else
  • Reading environmental data in particular is not allowed. This includes the location of any entities and any blocks
  • You are only allowed to read server provided chat messages, not ones generated by client side mods

CivClassic rules, Botting, accessed February 2020

Recommended Mods (1.18.2)

  • js-macros is a Fabric mod that allows scripting in JavaScript (or Python2, Python3, Lua, Ruby, Groovy, Kotlin and WASM with extensions)

Script collections

Macromod

Macromod allows you to bind chat commands and scripts to keyboard keys, mouse buttons and custom menus. Although Macromod will not be updated to the latest Minecraft versions anymore, you can still connect to the server with a 1.12 client with Macromod installed, to benefit from the many existing scripts made for it.

Installing Macromod

  1. Download and install LiteLoader
  2. Download Macromod and move the .jar file to your .minecraft/mods/ folder

Learning Macromod

Macromod Script Collections

Alternatives

Since rendering the game is quite expensive and some bots need to run all day, people created Minecraft clients that run from the console/terminal/command line:

List of other clients.

Farming Methods

Before building Redstone-powered farms, ensure they do not exceed redstone chunk limits (water streams can often be used as a replacement).

Obsidian

Obsidian generator

Due to the SimpleAdminHacks plugin, Obsidian can be generated using String and Lava. An ideal place to set up such an Obsidian generator is between several cave spider spawners. Hooking those up to an automatic system killing the spiders and moving the String to a bot player allows generating large amounts of obsidian automatically.

Example setup, script, and usage instructions.

Portal Farms

Although there is no Nether dimension, Nether portals still spawn Pigmen. This can be used to make AFK gold farms by surrounding the player with lots of portals and putting open trapdoors on their bottom edges, allowing the Pigmen to walk and fall down into a water collection and killing system. Note that mob AI is disabled for entities more than 10 blocks away from the player, so only portals within that range will be effective.