EyeMod
This modification introduces a fully functional smartphone into Minecraft that looks and works realistically. With it, you can exchange messages with friends, launch games, take and edit photos, and use many other applications. While some features are more suitable for multiplayer servers, most apps will be useful in single-player gameplay as well.
In the version for Minecraft 1.20+, applications with excessive capabilities, such as the TNT creation program, have been removed. This makes installing the mod on a server safer - you won't have to worry about players being able to harm the server if you configured it incorrectly. These applications will return later as a separate addon.
To extend battery life, carry a Powerbank in your inventory!
Configuration Settings
Before starting the game, it's recommended to configure the mod according to your needs - whether for a single-player world or a server. To change settings, go to the .minecraft folder (or server directory if the mod is installed there) and find the eyemod-config file in the config folder.
Shops
Application shops are disabled by default. If you want to be able to purchase items with your chosen currency (default: emeralds), activate the shops in the configuration. Change the allowShopApps parameter to 'true' to add the food and utility shops to the EyePhone. You can also customize the items in the shops by modifying the foodShop and utilShop lists in the configuration. Use the currency property to change the item that can be exchanged for in-game money.
Teleportation Points
The mod allows you to create a list of predefined teleportation points (for example, to the main spawn or Nether portal). This list is displayed in the Spawn app. Locations are added to the configuration through the spawnLocation list:
["NAME=X/Y/Z/WORLD", "NAME2=X/Y/Z/WORLD"] for example: ["Spawn=1/2/3/minecraft:overworld", "Nether=1/2/3/minecraft:the_nether", "End=1/2/3/minecraft:the_end"]
Players can also set their own homes in the Spawn app. By default, teleportation to these points is prohibited, but if you enable the allowHome and/or allowSpawns properties, players will be able to teleport to their homes or spawn points respectively.
Application Access
Applications can be disabled through the access property in the configuration. Add applications to this list to manage access: 0 - enable the application, 1 - enable only for operators, 2 - completely disable. For example:
["eyemod:maps=1", "eyemod:notes=2"]
Most applications are enabled by default (0). To disable all cheat applications, set the disableCheatApps property to true - this will disable all applications marked as cheats in the code (the base version doesn't contain cheat applications, but future addons might include them).
Prices
Application prices are also configurable similarly to access management. For example:
["eyemod:maps=100", "eyemod:notes=0"]
Storage
To prevent the accumulation of large volumes of NBT data, a storage limit is set for each EyePhone. When the limit is reached, the data is automatically cleared. This limit can be changed in the maxStorage property. On large servers, it's recommended to reduce this value, while in local gameplay it's less critical. Storage volume is calculated based on the number of characters in NBT data (approximately 1 character = 2 bytes). Players can use the settings app to clear data for a specific application or all applications at once.
Server Features
The mod can be installed on servers. In addition to configuration settings, server owners and operators should be aware of the following:
Bans
Since players can freely communicate with each other, some may abuse this system. Server operators (or single-player world owners) can block a specific player through the settings app by specifying their name. This will prevent the blocked player from using the EyePhone for communication.
Data Storage
All player accounts and messages are saved separately for each world. A player's account contains information about their money and purchased applications. Messages are the correspondence sent to the player. Data is loaded when the player opens their EyePhone (or when an EyePhone belonging to that user is opened). Up to 64 messages can be stored per player per application. Data about banned players, board messages, and chat messages are also stored here. Deleting the file in the world directory will result in the loss of all this data.