In an effort to force nations to resolve issues without warfare , the United Nations Charter attempted to commit member nations to using warfare only under limited circumstances , especially for defensive purposes only . In an effort to force nations to resolve issues without warfare , framers of the United Nations Charter attempted to commit member nations to using warfare only under limited circumstances , particularly for defensive purposes .