|
| 1 | +# Opt Carpet Addition Mod |
| 2 | + |
| 3 | +Language: English | [中文](https://github.com/OptiJava/OptCarpetAddition/blob/master/README.md) |
| 4 | + |
| 5 | +This is an extension module of CarpetMod. The goal is to add some functions that do not greatly change the original game |
| 6 | +mechanism but optimize the player experience/~~reduce the blood pressure of server owner~~. |
| 7 | + |
| 8 | +**Dependencies:`Carpet` `fabric-api`** |
| 9 | + |
| 10 | +## Rules |
| 11 | + |
| 12 | +### commandTpToFakePlayer |
| 13 | + |
| 14 | +Enable '/player xxx tp' command to teleport to that fake player. |
| 15 | + |
| 16 | +- Default value: `false` |
| 17 | +- Acceptable value: `true` `false` `ops` |
| 18 | +- Categories: `Command` |
| 19 | + |
| 20 | +### commandTpHereFakePlayer |
| 21 | + |
| 22 | +Enable '/player xxx tphere' command to teleport that fake player to me. |
| 23 | + |
| 24 | +- Default value: `false` |
| 25 | +- Acceptable value: `true` `false` `ops` |
| 26 | +- Categories: `Command` |
| 27 | + |
| 28 | +### allowTpToRealPlayer |
| 29 | + |
| 30 | +Enable '/player xxx tp' command to teleport to that real player. |
| 31 | + |
| 32 | +- Default value: `false` |
| 33 | +- Acceptable value: `true` `false` `ops` |
| 34 | +- Categories: `Command` |
| 35 | + |
| 36 | +### allowTpHereRealPlayer |
| 37 | + |
| 38 | +Enable '/player xxx tphere' command to teleport that real player to me. |
| 39 | + |
| 40 | +- Default value: `false` |
| 41 | +- Acceptable value: `true` `false` `ops` |
| 42 | +- Categories: `Command` |
| 43 | + |
| 44 | +### fixXpLevelBug |
| 45 | + |
| 46 | +Fix bug: xp level return to zero when player change dimension |
| 47 | + |
| 48 | +- Default value: `false` |
| 49 | +- Acceptable value: `true` `false` |
| 50 | +- Categories: `FixBug` |
| 51 | + |
| 52 | +### forceFakePlayerGameMode |
| 53 | + |
| 54 | +Force gamemode for every fake player. |
| 55 | + |
| 56 | +**You can't force gamemode to 'spectator'** |
| 57 | + |
| 58 | +- Default value: `false` |
| 59 | +- Acceptable value: `survival` `creative` `adventure` |
| 60 | +- Categories: `Feature` |
| 61 | + |
| 62 | +### enableTpPrefixBlacklist |
| 63 | + |
| 64 | +_**@[_Water_Bucket_](https://github.com/Water-Buckets) provided this great idea!**_ |
| 65 | + |
| 66 | +Enable fake player Tp prefix blacklist |
| 67 | +\ |
| 68 | +After this function is enabled, if the fake player name prefix you want to tp to is in the blacklist, it will prevent |
| 69 | +you from tp to him and display:You can't tp to this player because of tp |
| 70 | +limit. |
| 71 | +\ |
| 72 | +_For example: You want to tp to fake player: anti_mob,but 'anti' is in blacklist,so you can't tp to it_ |
| 73 | +\ |
| 74 | +Fake player prefix blacklist can modify by command:/tpmanager |
| 75 | + |
| 76 | +- Default value: `false` |
| 77 | +- Acceptable value: `true` `false` |
| 78 | +- Categories: `Feature` |
| 79 | + |
| 80 | +### enableTpPrefixWhitelist |
| 81 | + |
| 82 | +Enable fake player tp prefix whitelist |
| 83 | + |
| 84 | +- Default value: `false` |
| 85 | +- Acceptable value: `true` `false` |
| 86 | +- Categories: `Feature` |
| 87 | + |
| 88 | +### enableTpHerePrefixBlacklist |
| 89 | + |
| 90 | +Enable fake player Tphere prefix blacklist |
| 91 | + |
| 92 | +- Default value: `false` |
| 93 | +- Acceptable value: `true` `false` |
| 94 | +- Categories: `Feature` |
| 95 | + |
| 96 | +### enableTpHerePrefixWhitelist |
| 97 | + |
| 98 | +Enable fake player Tp prefix whitelist |
| 99 | + |
| 100 | +- Default value: `false` |
| 101 | +- Acceptable value: `true` `false` |
| 102 | +- Categories: `Feature` |
| 103 | + |
| 104 | +### disabledEnderManPickupGoal |
| 105 | + |
| 106 | +Enderman will not pick up any block |
| 107 | + |
| 108 | +- Default value: `false` |
| 109 | +- Acceptable value: `true` `false` |
| 110 | +- Categories: `Feature` |
| 111 | + |
| 112 | +### disabledEnderManPlaceBlockGoal |
| 113 | + |
| 114 | +Enderman will not place any block |
| 115 | + |
| 116 | +- Default value: `false` |
| 117 | +- Acceptable value: `true` `false` |
| 118 | +- Categories: `Feature` |
| 119 | + |
| 120 | +### disabledLayEggs |
| 121 | + |
| 122 | +Chicken will not lay eggs |
| 123 | + |
| 124 | +- Default value: `false` |
| 125 | +- Acceptable value: `true` `false` |
| 126 | +- Categories: `Feature` |
| 127 | + |
| 128 | +### disabledNetherPortalSpawn |
| 129 | + |
| 130 | +Zombified piglin will not spawn in nether portal |
| 131 | + |
| 132 | +- Default value: `false` |
| 133 | +- Acceptable value: `true` `false` |
| 134 | +- Categories: `Feature` |
| 135 | + |
| 136 | +## Command |
| 137 | + |
| 138 | +### player xxx tp |
| 139 | + |
| 140 | +- tp to a player. `commandTpToFakePlayer` `allowTpToRealPlayer` can manage this command |
| 141 | + |
| 142 | +### player xxx tphere |
| 143 | + |
| 144 | +- teleport here a player. `commandTpHereFakePlayer` `allowTpHereRealPlayer` can manage this command |
| 145 | + |
| 146 | +### list -advance |
| 147 | + |
| 148 | +- display detail of every player |
| 149 | + |
| 150 | +### tpmanager |
| 151 | + |
| 152 | +- 'tpmanager tp whitelist add xxx' add prefix xxx to tp whitelist |
| 153 | +- 'tpmanager tp blacklist add xxx' add prefix xxx to tp blacklist |
| 154 | +- 'tpmanager tphere whitelist add xxx' add prefix xxx to tphere whitelist |
| 155 | +- 'tpmanager tphere blacklist add xxx' add prefix xxx to tphere blacklist |
| 156 | +- 'tpmanager tp/tphere blacklist/whitelist remove' remove a prefix |
0 commit comments