Skip to content

Commit

Permalink
Removed hMod files, simplified configuration and usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
sk89q committed Jan 17, 2011
1 parent a86a96f commit d70a6e3
Show file tree
Hide file tree
Showing 18 changed files with 102 additions and 1,821 deletions.
27 changes: 0 additions & 27 deletions INSTALL.txt

This file was deleted.

19 changes: 19 additions & 0 deletions README.txt
Expand Up @@ -13,4 +13,23 @@ files, and much more.
For usage help, see:
http://github.com/sk89q/worldedit/wiki/Usage

Installation
------------

Bukkit:

1. Create a "plugins" folder inside your server folder.

2. Copy WorldEdit.jar into "plugins".

3. Restart your server.

Default configuration files will be created in plugins/WorldEdit/
when WorldEdit is first started. Be sure to edit them and use
/reload WorldGuard until you are satisfied (remember to remove the
/reload permission from everyone when you are done).

Thanks
------

Thanks to grum for writing the terrain smoother.
20 changes: 8 additions & 12 deletions build.xml
Expand Up @@ -18,8 +18,6 @@
<classpath>
<fileset dir="${lib.dir}">
<include name="truezip.jar" />
<include name="Minecraft_Mod.jar" />
<include name="minecraft_server.jar" />
<include name="minecraft_server_cb.jar" />
<include name="CraftBukkit.jar" />
<include name="Bukkit.jar" />
Expand All @@ -35,10 +33,13 @@
<attribute name="Implementation-Title" value="WorldEdit"/>
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="WorldEdit-Version" value="${version}"/>
<attribute name="Class-Path" value="truezip.jar"/>
<attribute name="Class-Path" value="truezip.jar WorldEdit/truezip.jar"/>
<!--<attribute name="Main-Class" value="com.sk89q.worldedit.cli.Main"/>-->
</manifest>
<replace file="${build.dir}/plugin.yml" token="WEVERSIONMACRO" value="${version}"/>
<copy tofile="${build.dir}/plugin.yml" file="plugin.yml"/>
<mkdir dir="${build.dir}/defaults"/>
<copy tofile="${build.dir}/defaults/config.yml" file="config.yml"/>
<jar jarfile="${dist.dir}/WorldEdit.jar" basedir="${build.dir}" manifest="manifest.mf" />
</target>

Expand All @@ -54,15 +55,10 @@
<antcall target="jar"/>
<delete dir="${release.dir}"/>
<mkdir dir="${release.dir}"/>
<copy todir="${release.dir}">
<fileset dir="."/>
<globmapper from="*.txt" to="*.txt"/>
</copy>
<copy tofile="${release.dir}/config.yml" file="config.yml"/>
<copy tofile="${release.dir}/worldedit.updatr" file="worldedit.updatr"/>
<replace file="${release.dir}/worldedit.updatr" token="%version%" value="${version}"/>
<copy tofile="${release.dir}/plugin.yml" file="plugin.yml"/>
<replace file="${release.dir}/plugin.yml" token="WEVERSIONMACRO" value="${version}"/>
<copy tofile="${release.dir}/CHANGELOG.txt" file="CHANGELOG.txt"/>
<copy tofile="${release.dir}/LICENSE.txt" file="LICENSE.txt"/>
<copy tofile="${release.dir}/NOTICE.txt" file="NOTICE.txt"/>
<copy tofile="${release.dir}/README.txt" file="README.txt"/>
<copy tofile="${release.dir}/WorldEdit.jar" file="${dist.dir}/WorldEdit.jar"/>
<zip destfile="${release.dir}/worldedit-${version}.zip" basedir="${release.dir}" excludes="*.zip plugin.yml"/>
<mkdir dir="${release.dir}/src"/>
Expand Down
39 changes: 32 additions & 7 deletions config.yml
@@ -1,3 +1,20 @@
#
# WorldEdit's configuration file
#
# About editing this file:
# - DO NOT USE TABS. You MUST use spaces or Bukkit will complain. If
# you use an editor like Notepad++ (recommended for Windows users), you
# must configure it to "replace tabs with spaces." In Notepad++, this can
# be changed in Settings > Preferences > Language Menu.
# - Don't get rid of the indents. They are indented so some entries are
# in categories (like "max-blocks-changed" is in the "limits"
# category.
# - If you want to check the format of this file before putting it
# into WorldEdit, paste it into http://yaml-online-parser.appspot.com/
# and see if it gives "ERROR:".
# - Lines starting with # are commentsand so they are ignored.
#

limits:
max-blocks-changed:
default: -1
Expand All @@ -6,32 +23,40 @@ limits:
max-super-pickaxe-size: 5
max-brush-radius: 5
disallowed-blocks: [6, 7, 14, 15, 16, 21, 22, 23, 24, 25, 26, 27, 28, 29, 39, 31, 32, 33, 34, 36, 37, 38, 39, 40, 46, 50, 51, 56, 59, 69, 73, 74, 75, 76, 77, 81, 83]

use-inventory:
enable: false
allow-override: true

logging:
log-commands: false
file: worldedit.log

super-pickaxe:
drop-items: true
many-drop-items: false

snapshots:
directory:

shell-save-type:
no-double-slash: false
debug: false

# Change sk89q to your name (or sk89q will be able to use WorldEdit
# on your server!). Check the documentation to see how to configure this
#
# NOTE: The /reload permission is given to everyone below (only applies to
# WorldEdit) so that you can reload WorldEdit with /reload WorldEdit
# until your configuration work is done
permissions:
groups:
default:
permissions:
- /worldeditselect
example:
permissions:
- /reload
- /worldeditselect
users:
sk89q:
groups:
- example
permissions:
- /reload
- /worldedit
- /worldedit
- /reload
123 changes: 0 additions & 123 deletions src/HMConfiguration.java

This file was deleted.

0 comments on commit d70a6e3

Please sign in to comment.