Skip to content

Commit

Permalink
Use Spigot's plugin.yml libraries for mongo/redis
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Oct 31, 2022
1 parent 1fa53c6 commit bd17a41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
8 changes: 0 additions & 8 deletions dist/pom.xml
Expand Up @@ -145,18 +145,10 @@
<pattern>org.objectweb</pattern>
<shadedPattern>com.denizenscript.shaded.org.objectweb</shadedPattern>
</relocation>
<relocation>
<pattern>redis.clients.jedis</pattern>
<shadedPattern>com.denizenscript.shaded.redis.clients.jedis</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache</pattern>
<shadedPattern>com.denizenscript.shaded.org.apache</shadedPattern>
</relocation>
<relocation>
<pattern>org.mongodb</pattern>
<shadedPattern>com.denizenscript.shaded.org.mongodb</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/main/resources/config.yml
Expand Up @@ -200,7 +200,7 @@ Commands:
# Whether to allow the SQL command.
Allow: true
Mongo:
# Whether to allow the mongo command.
# Whether to allow the Mongo command.
Allow: true
Webget:
# Whether to allow scripts to read arbitrary data from the web, which can also potentially enable tracking of your private server data.
Expand Down
6 changes: 5 additions & 1 deletion plugin/src/main/resources/plugin.yml
Expand Up @@ -4,7 +4,11 @@ version: ${project.version} (build ${BUILD_NUMBER}-${BUILD_CLASS})
main: com.denizenscript.denizen.Denizen
softdepend: [Citizens, Vault]

api-version: '1.13'
api-version: '1.16'

libraries:
- org.mongodb:mongodb-driver-sync:4.7.0
- redis.clients:jedis:3.7.0

commands:
denizen:
Expand Down

0 comments on commit bd17a41

Please sign in to comment.