th3shadowbroker / ouroborosmines Goto Github PK
View Code? Open in Web Editor NEWA plugin for pre-designed mines.
Home Page: https://www.spigotmc.org/resources/ouroboros-mines.72325/
License: MIT License
A plugin for pre-designed mines.
Home Page: https://www.spigotmc.org/resources/ouroboros-mines.72325/
License: MIT License
Describe the solution you'd like
A possibility to send items directly to the player's inventory instead of breaking the block.
Additional context
Discord post
Describe the bug
A clear and concise description of what the bug is.
I have EcoSkills plugin. I gain XP fine cutting wood, I'd assume it's the same for mining. But I've just tried on wood regeneration.
As soon as I add the flag to world edit to activate the OM mine. I no longer get XP for the skill.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Another rough idea was the possibility for rare "rich ore deposits" to spawn. Which in terms of mechanics would mean, a chance that a block is replaced by his own block type. Could be realized using the existing "replacements" list to determine the chance of that happening. For example
Code (YAML): coal_ore: replacements: - stone - stone - stone - coal_ore cooldown: 20could give a 25% chance of a rich coal deposit. Although that would be somewhat limited in terms of the "richness" of the deposit, as a consecutive resapwn (here: coal -> coal -> coal) becomes very unlikely pretty quick. And it also would look a bit strange in the config file itself if you want to have like a 1% chance. :D
A smoother mechanic would be to add a new optional category with a percentage to spawn a rich deposit and a range of how many times it should refresh itself. For example:coal_ore: replacements: - stone rich_chance: 25 rich_count: 2-4 cooldown: 20
As described in the thread.
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
I consider adding "wandering" ores which would add the possibility that ores move from their original location to a block near their original location. These block have to be still accessible and they shouldn't replace block that are not of a minable-materials material.
Describe the bug
@Italoplcl reported issues with the BeautyQuests support (Requested in #39, Merged in #42).
For some reason, the support modules arent' loading correctly. This also affects PAPI and Jobs support!
To Reproduce
Unknown. Even if I use the same plugin version, the error does not occurr.
However, the log files from @Italoplcl show, that OM isn't loading as expected.
The same goes for BQ.
Expected behavior
OM and BQ loading normally and in the correct order.
Desktop (please complete the following information):
Additional context
See discord for additional context.
i would like to have the ability to add custom ores and custom drops using nbt tags.
i am using itemsadder by lonedev and would like to be able to place in the blocks ive added into my server to mine in the mines warp. if thats possible that would be great.
I'd love to see a bit more regulation when it comes to mining schedules. For example being able to dictate on what days the time schedule should work etc.
Overall more customizability and flexibility setting up regions.
context
We're currently running a quite decent towny community server. Where we have 9 custom made mines scattered across the world. These mines are the only places where players are able to get diamond in order to halt the gear progression curve. Anyway the mines are grouped up in 3 cycles. Before we had some worldguard trickery with entry allow and true, but in the end it was to much hassle and sometimes the commands didn't fire etc. So we just brought it back to just OM controlling each schedule of the day with all 9 mines opening.
In the end i'd really love to see this plugin being able to manage in our case only allowing nmr 1, 2 and 3 to open between 12:00-00:00 but only on mondays and thursdays for example
Placeholder support to show the remaining time until opening/closing time of specific mines.
Is your feature request related to a problem? Please describe.
With the BeautyQuest plugin do not count the ores that are taken in an area with the flag set.
I imagine it's the same kind of incomtability that they had before with Quests and then they fixed it.
(https://www.spigotmc.org/threads/ouroboros-mines.401636/page-2#post-3713899)
Describe the solution you'd like
The solution is to count the ores that are removed in a region with the OM flag
Im using BeautyQuests 0.18 - Pre-release and Ouroboros-Mines 1.8.1-SNAPSHOT
The latest versions of each plugin.
I stay tuned, thank you very much.
Now the mines are not protected by the Towny protection, anyone can extract ore from them, not even a representative of the city. It would be great to check whoever mines the ore for belonging to the city, within which the ore block is located, which is broken.
Plugin link - https://www.spigotmc.org/resources/towny-advanced.72694/
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
An implementation for supporting WorldGuard alternatives.
This way OM can expand it's target group and become more open for new plugins.
Additional context
Describe the solution you'd like
I would like to implement "opening hours" for mines, which would be a great mechanic for clan servers.
Additional context
Discord post
When I start a server with a small number of plugins, Ouroboros starts up perfectly (Worldguard is installed), but when there are more than 48 plugins, when the server starts, it gives this error and does not work. I don't even know what else to connect with, other than the number of plugins.
That is, not with the presence or absence of a specific one, but simply with the total number - any over 48 and Ouroboros gives an error and does not load.
Server-version: yatopia-1.16.5-yatoclip-b21.jar and 1.16.4-paper-275
Describe the bug
Logs aren't replaced the correct way
To Reproduce
Steps to reproduce the behavior:
place logs, and mine the log.
Expected behavior
correctly sided log
Desktop (please complete the following information):
Additional context
none
Yes, I think maybe adding the following features will make the plugin better
- Can be set to collect specific minerals to give specified items, of course, items can be set lore and name
- Increase level mining
- Special effects of mineral regeneration
- Can be designated as skull as mineral
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
A command like /om help
that displays instructions on how to use the pluging's commands and what they do.
The diplayed text could be made configurable through the config.
Describe alternatives you've considered
None.
Additional context
Originally suggested by Lorenzo (aka. Sloth) in a discord conversation.
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
The respawn behavior feels a little bit static at the moment, as every block is respawning after the exact samt time. That means when one is farming in a mine, he definitely knows when which block will respawn in what pattern.
I think it could feel more interesting if the blocks could be given a timespan rather than an exact respawn time. In the config it could look like "cooldown: 10-25" which ultimately means "After a block of that type is broken pick a random number from 10 to 25 an set it as the respawn tiner for that block".
As described in the thread.
Is your feature request related to a problem? Please describe.
Nope
Describe the solution you'd like
I'd like the following feature implemented to this plugin
Commands with reward chance (Configurable & multiple commands)
https://gyazo.com/93dea2d3b42dad87b9d05a397d19da35
Describe alternatives you've considered
None
Additional context
None
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
setup a mine with gold, coal, or oak wood.
mine without the flag for the mine set to true.
the effect will activate fine, the player with say, hi.
but as soon as the mine region flag is set too true, the effect activation does not happen.
im not sure if its with other Eco plugins, but its not working with Actions.
not sure if this is OM or Eco.
Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
thats the region config.
inherit: false
materials:
itemsadder:gemrocks_block:
replacements:
- cobblestone
cooldown: 10
coal_ore:
replacements:
- stone
cooldown: 20
gold_ore:
replacements:
- stone
cooldown: 30
iron_ore:
replacements:
- stone
cooldown: 40
emerald_ore:
replacements:
- stone
cooldown: 50
oak_wood:
replacements:
- air
cooldown: 1
diamond_ore:
replacements:
- stone
cooldown: 120
thats the actins config
enabled: true
effects:
- id: run_player_command
args:
chance: 100
command: "say hi"
triggers:
- mine_block
filters:
blocks:
- gold_ore
- coal_ore
- oak_wood
conditions: [ ]
Describe the bug
When a rich deposit is replaced by the own blocktype and then mined again, it seems that the new ore-block can trigger another rich deposit.
Therefore the block can be mined more often than set in the configuration.
In one specific test a coal-block could be mined up to 18 times even if the configuration was set to a maximum of 5 additional times.
Testing environment
The following region configuration was used for this test:
inherit: false
materials:
stone:
replacements:
- cobblestone
cooldown: 10
coal_ore:
replacements:
- stone
cooldown: 20-170
rich-chance: 75
rich-amount: 1-5
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The additional mineable amount of a rich deposit should not exceed the maximum value set under "rich-amount" in the configuration file.
A spawned rich deposit should not trigger another rich deposit.
Desktop (please complete the following information):
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
A possibility to set individual cooldowns for different mines using a config file.
See this thread for reference!
ToDo
Is your feature request related to a problem? Please describe.
Yes. Ores that were picked up in a mining region are not counted for the current objective.
Describe the solution you'd like
Support for the plugin.
Describe alternatives you've considered
It could be possible to create a custom objective which could be then used in the Quest's progress.
As an alternative, the problem might be caused by different event-levels.
Additional context
Describe the bug
Player stats for mined blocks are not getting updated when mined within a mining region.
To Reproduce
Expected behavior
Stats updating as they're supposed to.
Additional context
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Support for the thirdparty plugin GriefDefender [Spigot] [Git]. Originally requested by Darious_Vrex on Discord.
Additional context
Generalizing region providers might be helpful. Not only for this specific case, but also for other WorldGuard alternatives like GriefPrevention etc.
Adding permission to drop ore from mine blocks. Only those with this permit can extract ore from the mine.
Maybe a chat message to the player who just found a rich deposit would be nice too. (with the option to change the text and to en-/dis-able the message in the general config.yml of course, so noone gets bothered if he doesn't want to ;))
Could be something very basic like "&fYou found a &2rich&f deposit!"
to a bit more sophisticated like "&fYou found a &2[rich_count > (0.5 * rich_max) ? "large"] rich&f [ORE_NAME] deposit!" ... with a sound playing ... and fireworks... and the server burning down! Ok, I got carried away here... :) But the sound would really be cool.
As suggested in this post.
Describe the bug
Originally described by @laspi94 as mining on the region whith the flag, item no loss durability.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The mining tool is supposed to lose durability.
Using the time 22:00-01:00 seems to not work
inherit: false
materials:
iron_ore:
replacements:
- stone
cooldown: 4500
rich-chance: 3
rich-amount: 5-6
emerald_ore:
replacements:
- stone
cooldown: 7200-9000
rich-chance: 3
rich-amount: 2-3
diamond_ore:
replacements:
- stone
cooldown: 7200-9000
rich-chance: 3
rich-amount: 2-3
openingHours:
enabled: true
realtime:
- 22:00-01:00
announcements:
opening: true
closing: true
worlds:
- world
chat:
messages:
announcements:
opening: "&2Mines 3,4 and 8 are now open!"
closing: "&cMines 3,4 and 8 are now closed. Come back tomorrow!"
minesClosed: "&cThis mine is closed come back later."
Expected behavior
As asked in a previous report one would expect the mines to remain op till 01:00
Desktop (please complete the following information):
# OuroborosMines v1.10.0-SNAPSHOT by Th3Shadowbroker
#
# When true all regions will be handled as OM-zone.
# Not recommended for big-servers as the replacement-tasks require a lot of scheduling.
default: false
chat:
prefix: '&9[OM]'
messages:
awaitingRightClick: '&2Right-click the chest you want to create the drop group
from or type &e/om dg&2 to cancel!'
awaitingRightClickCancelled: '&cDrop group creation cancelled!'
consoleNotAllowed: '&cThis command can not be executed from console!'
dropGroupCreated: '&2Saved drop group &e%name%'
dropGroupExists: '&cThere''s already a drop-group name &e%name%&c!'
unrecognizedArgument: '&cUnrecognized argument'
missingDropGroupName: '&cMissing drop-group name!'
regionCustomize: '&2A new configuration file for &b%region%&2 has been created!'
regionAlreadyCustomized: '&cThere''s already a configuration file for this region!'
regionNotFound: '&cNo region found at your position!'
reloadingConfig: '&2Reloading configuration...'
reloadingRegionConfigurations: '&2Reloading region-configurations...'
reloadedRegionConfigurations: '&2Loaded %count% region-specific configurations'
reloadingDropGroups: '&2Reloading drop groups...'
reloadedDropGroups: '&2Loaded %count% drop groups'
worldNotFound: '&cWorld &e%world% &cnot found!'
depositDiscovered: '&2You''ve discovered a %size% &e%material%&2 deposit!'
depositSizes:
small: small
medium: medium
large: large
announcements:
opening: '&2The mines are open!'
closing: '&cThe mines are now closed. Come back tomorrow!'
minesClosed: '&cThe mines are closed come back later.'
error: '&cAn error occurred: %error%'
help:
customize: Generates a region-configuration.
dropgroup: Generates a drop-group from a chest.
reload: Reloads all configuration files.
materials:
# coal_ore:
# replacements:
# - stone
# cooldown: 20
# gold_ore:
# replacements:
# - stone
# cooldown: 30
iron_ore:
replacements:
- stone
cooldown: 3600
emerald_ore:
replacements:
- stone
cooldown: 7200-9000
rich-chance: 3
rich-amount: 2-3
# redstone_ore:
# replacements:
# - stone
# cooldown: 55
diamond_ore:
replacements:
- stone
cooldown: 7200-9000
rich-chance: 3
rich-amount: 2-3
# lapis_ore:
# replacements:
# - stone
# cooldown: 60
# nether_gold_ore:
# replacements:
# - netherrack
# cooldown: 50
# nether_quartz_ore:
# replacements:
# - netherrack
# cooldown: 50
# ancient_debris:
# replacements:
# - netherrack
# cooldown: 120
effects:
deposit_discovered:
sound: entity_player_levelup
experience:
spawnOrbs: true
autoPickup: true
openingHours:
enabled: false
realtime:
- 00:00-06:00
- 18:00-23:59
announcements:
opening: false
closing: false
worlds:
- world
timezone: Europe/Berlin
placeholders:
openingHours:
format: '%h%:%m%:%s%'
open: Now!
Describe the solution you'd like
Skills getting better when mining/breaking blocks in OM regions.
Additional context
Original request from magicprog. I've tried to make the event cancellation obsolete. However, this leads to unwanted side-effects with WorldGuard.
Describe the solution you'd like
I want a solution that enables the user to earn experience when they mine ores and/or discover deposits. This requires a bit more setup regarding to the region configurations and stuff but will be worth it. I should also consider adding support for the most used job plugin
What the title says.
Describe the bug
A clear and concise description of what the bug is.
Wondering if this is a big with itemsadder or oroboros mines? Since as soon as a mine is created the drops come in multiples.
Desktop (please complete the following information):
Additional context
ItemsAdder-Issue
Is your feature request related to a problem? Please describe.
Plugin is exceptional for what is is, however this would improve this plugin immensely if possible.
Describe the solution you'd like
Once breaking an ore, it will replace with a completely random ore with chances stated in the mine config depending on which block/ore it is. For example, break a diamond ore, and after the two minute cooldown, it has a chance to become stone, coal ore, etc.
First off im loving your plugin, it allows our users to pvp over custome mines.
The issue were having though is that everything related to the plugin seems to be influenced by server tps eventhough the timer is set to work with realtime.
Describe the bug
For some reason, configs are no longer created correctly as it has been since craftbukkit.
This needs more research ๐
To Reproduce
Steps to reproduce the behavior:
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I have a plugin that makes it so you need to use tools to break blocks. I've set up my tutorial area with a quest to gather the things you need to create your first tool a "Hatchet" I use Ouroborosmines to allow them to break the blocks in this cave. However, it's not really dropping as many sticks or gravel as I'd like.
Describe the solution you'd like
Would it be possible to be able to select the loot that would drop from breaking the blocks? Or at least the percentage chance?
Describe alternatives you've considered
Running a command when certain blocks are broken such a /give User Sticks 10
Additional context
Add any other context or screenshots about the feature request here.
Wheat, carrot and potato not working
To Reproduce
create wg region farm, om /customize, set material:
wheat:
replacements:
- air
cooldown: 10
properties:
age: 7
resetAge: true
Expected behavior
Wheat replace by air and replace 10s after by new wheat
Describe the bug
When a region is created inside another region and both are flagged as mines, the configuration of the region with the higher layer is used.
To Reproduce
Self explanatory
Expected behavior
See description.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.